Description
This Tcl command edits a custom scenario: scenario name, previously defined mode(s) and duration(s).
smartpower_edit_scenario -name {custom scenario name} \
[-description {description of scenario}] \
-mode {mode_name:duration} \
-new_name {New Scenario name}
Arguments
Parameter | Type | Description |
---|
name | string | Specifies the name of the scenario. |
description | string | Specifies the description of the scenario. |
mode | string | Specifies the mode(s) and duration(s) for the specified scenario. Possible values are {<operating mode>:<duration>} |
new_name | string | Specifies the new name for the scenario. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Parameter 'new_name' has illegal value. |
None | Parameter 'name' has illegal value. |
None | Required parameter 'name' is missing. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'smartpower_edit_scenario -name "scenario name" [-description "description"] [-mode "":""]* [-new_name "new mode name"]'. |
Supported Families
PolarFire® |
SmartFusion® 2 |
RTG4™ |
IGLOO® 2 |
PolarFire SoC |
Example
This example edits the name of "MyScenario" to "NewScenario":
smartpower_edit_scenario -name {MyScenario} -new_name {NewScenario} -mode "Active:100.00"