Skip to content

Commit

Permalink
Merge pull request #1961 from NREL/move-linear-rec_su
Browse files Browse the repository at this point in the history
move rec su vars to system control page
  • Loading branch information
tyneises authored Dec 7, 2024
2 parents 76f29cb + 3025384 commit ba373aa
Show file tree
Hide file tree
Showing 6 changed files with 933 additions and 458 deletions.
200 changes: 197 additions & 3 deletions deploy/runtime/ui/MSLF IPH System Control.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Name": "MSLF IPH System Control",
"Width": 838.0,
"Height": 364.0,
"Width": 841.0,
"Height": 413.0,
"FormObjects": {
"GroupBox": {
"Visible": 1.0,
Expand Down Expand Up @@ -1988,7 +1988,7 @@
},
"Height": {
"Type": 3.0,
"Integer": 126.0
"Integer": 171.0
},
"Tool Tip": {
"Type": 5.0,
Expand Down Expand Up @@ -2185,6 +2185,172 @@
"Integer": 4.0
}
}
},
"Numeric": {
"Visible": 1.0,
"ObjectProperties": {
"Name": {
"Type": 5.0,
"String": "rec_qf_delay"
},
"X": {
"Type": 3.0,
"Integer": 273.0
},
"Y": {
"Type": 3.0,
"Integer": 381.0
},
"Width": {
"Type": 3.0,
"Integer": 90.0
},
"Height": {
"Type": 3.0,
"Integer": 21.0
},
"Tool Tip": {
"Type": 5.0,
"String": ""
},
"Value": {
"Type": 1.0,
"Double": 0.0
},
"Mode": {
"Type": 3.0,
"Integer": 1.0
},
"Format": {
"Type": 3.0,
"Integer": 1.0
},
"Decimals": {
"Type": 3.0,
"Integer": 3.0
},
"Prefix": {
"Type": 5.0,
"String": ""
},
"Suffix": {
"Type": 5.0,
"String": ""
},
"ThousandsSep": {
"Type": 2.0,
"Boolean": 0.0
},
"Editable": {
"Type": 2.0,
"Boolean": 1.0
},
"ForeColour": {
"Type": 4.0,
"Color": {
"Red": 0.0,
"Green": 0.0,
"Blue": 0.0,
"Alpha": 255.0
}
},
"BackColour": {
"Type": 4.0,
"Color": {
"Red": 255.0,
"Green": 255.0,
"Blue": 255.0,
"Alpha": 255.0
}
},
"TabOrder": {
"Type": 3.0,
"Integer": 4.0
}
}
},
"Numeric": {
"Visible": 1.0,
"ObjectProperties": {
"Name": {
"Type": 5.0,
"String": "rec_su_delay"
},
"X": {
"Type": 3.0,
"Integer": 273.0
},
"Y": {
"Type": 3.0,
"Integer": 357.0
},
"Width": {
"Type": 3.0,
"Integer": 90.0
},
"Height": {
"Type": 3.0,
"Integer": 21.0
},
"Tool Tip": {
"Type": 5.0,
"String": ""
},
"Value": {
"Type": 1.0,
"Double": 0.0
},
"Mode": {
"Type": 3.0,
"Integer": 1.0
},
"Format": {
"Type": 3.0,
"Integer": 1.0
},
"Decimals": {
"Type": 3.0,
"Integer": 3.0
},
"Prefix": {
"Type": 5.0,
"String": ""
},
"Suffix": {
"Type": 5.0,
"String": ""
},
"ThousandsSep": {
"Type": 2.0,
"Boolean": 0.0
},
"Editable": {
"Type": 2.0,
"Boolean": 1.0
},
"ForeColour": {
"Type": 4.0,
"Color": {
"Red": 0.0,
"Green": 0.0,
"Blue": 0.0,
"Alpha": 255.0
}
},
"BackColour": {
"Type": 4.0,
"Color": {
"Red": 255.0,
"Green": 255.0,
"Blue": 255.0,
"Alpha": 255.0
}
},
"TabOrder": {
"Type": 3.0,
"Integer": 4.0
}
}
}
},
"VarDatabase": {
Expand Down Expand Up @@ -2600,6 +2766,32 @@
"UIObject": "Default",
"sscVariableName": "",
"sscVariableValue": ""
},
"rec_qf_delay": {
"Version": 4.0,
"Type": 1.0,
"Label": "Receiver startup delay energy fraction",
"Units": "",
"Group": "System Control",
"IndexLabels": "",
"Flags": 2.0,
"DefaultValue": 0.25,
"UIObject": "Default",
"sscVariableName": "",
"sscVariableValue": ""
},
"rec_su_delay": {
"Version": 4.0,
"Type": 1.0,
"Label": "Receiver startup delay time",
"Units": "hr",
"Group": "System Control",
"IndexLabels": "",
"Flags": 2.0,
"DefaultValue": 0.2,
"UIObject": "Default",
"sscVariableName": "",
"sscVariableValue": ""
}
},
"Equations": [
Expand Down Expand Up @@ -2675,6 +2867,8 @@
" enable(\"disp_timeout\", en==1);\r",
" enable(\"disp_mip_gap\", en==1);\r",
" enable(\"disp_time_weighting\", en==1);\r",
" enable(\"rec_su_delay\", en==1);\r",
" enable(\"rec_qf_delay\", en==1);\r",
"\r",
"};"
]
Expand Down
Loading

0 comments on commit ba373aa

Please sign in to comment.