Skip to content

WIP: Add RAVENS schema #472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 75 commits into
base: main
Choose a base branch
from

Conversation

juanjospina
Copy link
Collaborator

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.
* REF: code to reduce ifs in checking terminals vmin vmax definitions.

* FIX: bug in ravens switch parser.

* REF: small changes in ravens2math and clean comments
…se TransformerTanks with all phases in one tank by default.
… reduction in lines, and delta connected loads vnom kv.
… current being calculated incorrectly when missing.
…ue to information missing for second windings.
…ransformers with and without tanks. Windings were being assigned 0.0 resistance and ony for winding number 1.
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.

1 participant