Skip to content
Discussion options

You must be logged in to vote

Please see https://gridappsd-training.readthedocs.io/en/latest/api_usage/3.3-Using-the-PowerGrid-Models-API.html#Querying-for-Measurements

Set the "objectType" key to "PowerElectronicsConnection"

from gridappsd import topics as t
topic = t.REQUEST_POWERGRID_DATA

message = {
    "requestType": "QUERY_OBJECT_MEASUREMENTS",
    "modelId": model_mrid,
    "objectType": "PowerElectronicsConnection",
    "resultFormat": "JSON"
}

gapps.get_response(topic, message)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AAndersn
Comment options

Answer selected by poorva1209
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
API
Labels
None yet
2 participants