GRIDAPPSD / gridappsd-viz

GridAPPS-D’s visualization application displays the topology of selected distribution model with highlighted capacitors and regulators. It also include tables with current values for capacitor status (OPEN or CLOSED), regulator voltage, and feeder power. For current release cycle we are using IEEE 8500-Node system model.
http://gridappsd.readthedocs.io/
7 stars 5 forks source link

Subscribe to field message bus output to display measurements and plots #452

Open ShuhaoBai opened 1 year ago

ShuhaoBai commented 1 year ago

In field mode subscribe to field output instead of simulation output

poorva1209 commented 1 year ago

File location:

https://github.com/GRIDAPPSD/gridappsd-viz/blob/feature/field-mode/client/src/app/common/simulation/topics.ts

Change this: export const START_FIELD_MODEL_SIMULATION_TOPIC = '/queue/goss.gridappsd.process.request.simulation'; To: export const FIELD_OUTPUT_TOPIC = '/topic/goss.gridappsd.field.output';

poorva1209 commented 1 year ago

Also, remove the play button

ShuhaoBai commented 1 year ago

Pushed updates to this branch field-mode and it's ready for review.

Updates include the following features:

  1. De-coupled fieldModel related code from simulation related code.
  2. Implemented the functions to plot charts for field model output.
  3. Fixed issues that redirecting from other urls to field-model not working.
  4. Updated syntax to distinguish simulation and fieldModel code
  5. Updated topology render to work with field model datastream.
  6. Cleaned code. Todo:
  7. Need to figure out what should nominalVoltage be for Field Model data.
  8. Need to figure out what to use for the fieldModelId in _stateStore.

    Notes for testing:

    There is an issue that the measurements from ieee13nodeckt “_49AD8E07-3BF9-A4E2-CB8F-C3722F837B62” don’t have the matching model dictionary that fetched from goss.gridappsd.process.request.config, but it matches the model dictionary from “_C1C3E687-6FFD-C753-582B-632A27E28507”. Please test this feature with the fieldModelMrid of “_C1C3E687-6FFD-C753-582B-632A27E28507” so that you can see the Min/Avg/Max Voltages chart.