Skip to content
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

WIP: Add RAVENS schema #472

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

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.
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

Attention: Patch coverage is 62.47113% with 325 lines in your changes missing coverage. Please review.

Project coverage is 73.38%. Comparing base (80d6178) to head (c979b5b).
Report is 13 commits behind head on main.

Files with missing lines Patch % Lines
src/data_model/transformations/ravens2math.jl 60.12% 325 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #472      +/-   ##
==========================================
- Coverage   75.01%   73.38%   -1.63%     
==========================================
  Files          73       74       +1     
  Lines       16541    17258     +717     
==========================================
+ Hits        12408    12665     +257     
- Misses       4133     4593     +460     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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