Skip to content

Conversation

@juanjospina
Copy link
Contributor

This is is still a Work in Progress (WIP) branch.

The parser can be (temporary) tested using the following:

pmd_file = "../file.json"

# parse JSON file
pmd_data = parse_file(pmd_file)

# instantiate model
pmd_model = instantiate_mc_model_ravens(pmd_data, ACPUPowerModel, build_mc_opf)

result = optimize_model!(
        pmd_model,
        relax_integrality=false,
        optimizer=ipopt,
        solution_processors=Function[]
    )

* REF: revise and refactor ravens2math functions to simplify them.

* FIX: issues with dictionary access in ravens funcs.
…es coming from dss-xml-json ravens exporters.
@juanjospina juanjospina marked this pull request as draft October 14, 2024 19:33
* WIP: TransformerTanks support. Adding them individually connected to the same fbus is giving errors.

* WIP: new version of TransformerTank. Plus - Important Fixes to Conductors, Switches, and EnergySource.

* REF: TransformerTanks but as Single-Phase entities.

* REF: TransformerTanks per single phase to avoid extra winding/tank loop.

* FIX: resistance and reactance for Transformers computations - single-phase

* REF: configuration and polarity of transformers based on connections DELTA-WYE, etc.

* REF: PowerTransformerEnd to avoid unnecessary calculations and clean code.

* REF: TransformerTank parsing.

* ADD: feature to combine TransformerTanks into a single transformer mathematical representation.
juanjospina and others added 30 commits May 15, 2025 17:37
…s. Fixed a problem with load forecasts that require actual values.
…s to elements in connected to three-phase transformers with single-phase tanks.
* WIP: math2ravens solution converter. Added Voltages, Statuses, and PowerFlows basic structures.

* WIP: Add support for adding status to transformers coming from MATH model.

* WIP: add operational results switch states and return values for transformation.

* WIP: Add mn support for voltages.

* ADD: multinetwork support for PF/OPF solutions.

* ADD: support for ONM solutions states, status.

* ADD: support for storage power flows and correct timestep values to hours based on time elapsed.

* FIX: check for existence of state and status keys.

* REF: sort the nws in mn solutions, making sure the timesteps are ordered.
…and add new utils function to extract type from name in RAVENS.
… assign status in transform solution to ravens based on bus statuses.
…ed and as the model is parsed the buses type are updated based on the statuses of the elements connected to the respective buses.
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.

2 participants