Skip to content

Model state2#60

Merged
poorva1209 merged 8 commits intodevelopfrom
model_state2
Nov 14, 2019
Merged

Model state2#60
poorva1209 merged 8 commits intodevelopfrom
model_state2

Conversation

@tdtalbot
Copy link
Copy Markdown
Contributor

@tdtalbot tdtalbot commented Nov 13, 2019

Description

Also known as the box between the boxes, this takes a json object (like below) that specifies the desired state for switches and generators and updates the model in memory before it is written out to the simulation config files in the cim2glm code. This json would be added to the model configuration text box during the simulation setup.

"model_state":{
"synchronousmachines":[
{"name":"diesel590","p":1000.000,"q":140.000},
{"name":"diesel620","p":150.000,"q":500.000}
],
"switches":[
{"name":"2002200004641085_sw","open":true},
{"name":"2002200004868472_sw","open":true},
{"name":"l9407_48332_sw","open":true},
{"name":"tsw568613_sw","open":false}
]
}


This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants