GRIDAPPSD / GOSS-GridAPPS-D

14 stars 27 forks source link

Different VSOURCE in model_startup.glm and model_base.glm #1629

Open shpoudel opened 2 years ago

shpoudel commented 2 years ago

We noticed this issue when modeling a feeder starting for a generation source. The model_base.glm uses a vnom query for energysource to find the value of source voltage while model_startup.glm uses max(nomv) across the feeder to find the source voltage. This is okay if the feeder source is a substation bus (i.e., a primary of a substation transformer). However, there will be an issue if the feeder source is a generation with a step-up transformer connected to it. The current implementation inside GOSS-GridAPPS-D is given below:

https://github.com/GRIDAPPSD/GOSS-GridAPPS-D/blob/master/gov.pnnl.goss.gridappsd/src/gov/pnnl/goss/gridappsd/configuration/GLDAllConfigurationHandler.java#L369

shpoudel commented 1 year ago

The code in the above link points to a query that should be replaced with an EnergySource query.