Skip to content

Commit

Permalink
Merge pull request #16 from dynawo/unit-tests
Browse files Browse the repository at this point in the history
Unit tests
  • Loading branch information
marcosmc authored Dec 17, 2024
2 parents 5b94ea0 + 922ccf9 commit c405ea6
Show file tree
Hide file tree
Showing 197 changed files with 948 additions and 383 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/dev-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Dev CI

on:
pull_request:

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip build setuptools wheel
python -m pip install --upgrade flake8 pytest pytest-cov
- name: Build package
run: python -m build --wheel

- name: Install wheel
run: pip install dist/*.whl

# Pending to be added in the near future:
# * flake8 src --count --exit-zero --max-complexity=10
- name: Linting with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 src --count --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 99 chars wide
flake8 src --count --exit-zero --statistics
# - name: Run tests
# run: pytest

- name: Generate coverage
run: pytest --cov=. --cov-report=xml

#- name: Sonar analysis
# uses: sonarsource/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# with:
# args: |
# -Dsonar.python.coverage.reportPaths=coverage.xml

2 changes: 1 addition & 1 deletion attic/curves_creation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# (c) 2023/24 RTE
# (c) 2023/24 RTE
# Developed by Grupo AIA
# [email protected]
# [email protected]
Expand Down
2 changes: 1 addition & 1 deletion attic/steady_state.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# (c) 2023/24 RTE
# (c) 2023/24 RTE
# Developed by Grupo AIA
# [email protected]
# [email protected]
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/helps.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
def write_output(file, text):
for line in text.splitlines():
file.write(f"\t{line}\n")
file.write(f"\n")
file.write("\n")


def generate_help_files():
Expand Down
4 changes: 2 additions & 2 deletions examples/Model/BESS/WECC/Dynawo/Zone1/Producer.dyd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<dyn:dynamicModelsArchitecture xmlns:dyn="http://www.rte-france.com/dynawo">
<!-- Producer -->
<dyn:blackBoxModel id="StepUp_Xfmr" lib="TransformerTapChanger" parFile="Producer.par" parId="StepUp_Xfmr"/>
<dyn:blackBoxModel id="Wind_Turbine" lib="BESScbWeccCurrentSourceNoPlantControl" parFile="Producer.par" parId="Wind_Turbine"/>
<dyn:blackBoxModel id="Bess" lib="BESScbWeccCurrentSourceNoPlantControl" parFile="Producer.par" parId="Bess"/>
<dyn:connect id1="StepUp_Xfmr" var1="transformer_terminal2" id2="BusPDR" var2="bus_terminal"/>
<dyn:connect id1="Wind_Turbine" var1="BESScb_terminal" id2="StepUp_Xfmr" var2="transformer_terminal1"/>
<dyn:connect id1="Bess" var1="BESScb_terminal" id2="StepUp_Xfmr" var2="transformer_terminal1"/>
</dyn:dynamicModelsArchitecture>
2 changes: 1 addition & 1 deletion examples/Model/BESS/WECC/Dynawo/Zone1/Producer.par
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<parametersSet xmlns="http://www.rte-france.com/dynawo">
<!-- Synchronous machine external parameters -->
<set id="Wind_Turbine">
<set id="Bess">
<par type="DOUBLE" name="BESScb_P0Pu" value="-0.7"/>
<par type="DOUBLE" name="BESScb_Q0Pu" value="-0.2"/>
<par type="DOUBLE" name="BESScb_U0Pu" value="1.0"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/Model/BESS/WECC/Dynawo/Zone3/Producer.dyd
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<dyn:blackBoxModel id="AuxLoad_Xfmr" lib="TransformerFixedRatio" parFile="Producer.par" parId="AuxLoad_Xfmr"/>
<dyn:blackBoxModel id="Aux_Load" lib="LoadPQ" parFile="Producer.par" parId="Aux_Load"/>
<dyn:blackBoxModel id="StepUp_Xfmr" lib="TransformerTapChanger" parFile="Producer.par" parId="StepUp_Xfmr"/>
<dyn:blackBoxModel id="Wind_Turbine" lib="BESScbWeccCurrentSource" parFile="Producer.par" parId="Wind_Turbine"/>
<dyn:blackBoxModel id="Bess" lib="BESScbWeccCurrentSource" parFile="Producer.par" parId="Bess"/>
<dyn:connect id1="AuxLoad_Xfmr" var1="transformer_terminal1" id2="BusPDR" var2="bus_terminal"/>
<dyn:connect id1="StepUp_Xfmr" var1="transformer_terminal1" id2="BusPDR" var2="bus_terminal"/>
<dyn:connect id1="Aux_Load" var1="load_terminal" id2="AuxLoad_Xfmr" var2="transformer_terminal2"/>
<dyn:connect id1="Wind_Turbine" var1="BESScb_terminal" id2="StepUp_Xfmr" var2="transformer_terminal2"/>
<dyn:connect id1="Bess" var1="BESScb_terminal" id2="StepUp_Xfmr" var2="transformer_terminal2"/>
</dyn:dynamicModelsArchitecture>
2 changes: 1 addition & 1 deletion examples/Model/BESS/WECC/Dynawo/Zone3/Producer.par
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<parametersSet xmlns="http://www.rte-france.com/dynawo">
<!-- Synchronous machine external parameters -->
<set id="Wind_Turbine">
<set id="Bess">
<par type="DOUBLE" name="BESScb_P0Pu" value="-0.7"/>
<par type="DOUBLE" name="BESScb_Q0Pu" value="-0.2"/>
<par type="DOUBLE" name="BESScb_U0Pu" value="1.0"/>
Expand Down
18 changes: 9 additions & 9 deletions examples/Model/BESS/WECC/ProducerCurves/CurvesFiles.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ StepUp_Xfmr_XFMR_Tap = StepUp_Xfmr_XFMR_Tap
# Wind Turbines or PV Arrays in Zone1
[Curves-Dictionary-Zone1]
NetworkFrequencyPu = NetworkFrequencyPu
Wind_Turbine_GEN_InjectedActiveCurrent = Wind_Turbine_GEN_InjectedActiveCurrent
Wind_Turbine_GEN_InjectedReactiveCurrent = Wind_Turbine_GEN_InjectedReactiveCurrent
Wind_Turbine_GEN_InjectedCurrent = Wind_Turbine_GEN_InjectedCurrent
Wind_Turbine_GEN_MagnitudeControlledByAVRPu = Wind_Turbine_GEN_MagnitudeControlledByAVRPu
Bess_GEN_InjectedActiveCurrent = Bess_GEN_InjectedActiveCurrent
Bess_GEN_InjectedReactiveCurrent = Bess_GEN_InjectedReactiveCurrent
Bess_GEN_InjectedCurrent = Bess_GEN_InjectedCurrent
Bess_GEN_MagnitudeControlledByAVRPu = Bess_GEN_MagnitudeControlledByAVRPu


# Wind Turbines or PV Arrays in Zone3
[Curves-Dictionary-Zone3]
NetworkFrequencyPu = NetworkFrequencyPu
Wind_Turbine_GEN_InjectedActiveCurrent = Wind_Turbine_GEN_InjectedActiveCurrent
Wind_Turbine_GEN_InjectedReactiveCurrent = Wind_Turbine_GEN_InjectedReactiveCurrent
Wind_Turbine_GEN_InjectedCurrent = Wind_Turbine_GEN_InjectedCurrent
Wind_Turbine_GEN_MagnitudeControlledByAVRPu = Wind_Turbine_GEN_MagnitudeControlledByAVRPu
Wind_Turbine_GEN_AVRSetpointPu = Wind_Turbine_GEN_AVRSetpointPu
Bess_GEN_InjectedActiveCurrent = Bess_GEN_InjectedActiveCurrent
Bess_GEN_InjectedReactiveCurrent = Bess_GEN_InjectedReactiveCurrent
Bess_GEN_InjectedCurrent = Bess_GEN_InjectedCurrent
Bess_GEN_MagnitudeControlledByAVRPu = Bess_GEN_MagnitudeControlledByAVRPu
Bess_GEN_AVRSetpointPu = Bess_GEN_AVRSetpointPu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;InfiniteBus_BUS_NetworkFrequencyPu;StepUp_Xfmr_XFMR_Tap;Wind_Turbine_GEN_ActivePowerSetpointPu;Wind_Turbine_GEN_ReactivePowerSetpointPu;Wind_Turbine_GEN_AVRSetpointPu;Wind_Turbine_GEN_InjectedActivePower;Wind_Turbine_GEN_InjectedReactivePower;Wind_Turbine_GEN_InjectedActiveCurrent;Wind_Turbine_GEN_InjectedReactiveCurrent;Wind_Turbine_GEN_ActivePowerPu;Wind_Turbine_GEN_ReactivePowerPu;Wind_Turbine_GEN_MagnitudeControlledByAVRPu;Wind_Turbine_GEN_InjectedCurrent;NetworkFrequencyPu
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;InfiniteBus_BUS_NetworkFrequencyPu;StepUp_Xfmr_XFMR_Tap;Bess_GEN_ActivePowerSetpointPu;Bess_GEN_ReactivePowerSetpointPu;Bess_GEN_AVRSetpointPu;Bess_GEN_InjectedActivePower;Bess_GEN_InjectedReactivePower;Bess_GEN_InjectedActiveCurrent;Bess_GEN_InjectedReactiveCurrent;Bess_GEN_ActivePowerPu;Bess_GEN_ReactivePowerPu;Bess_GEN_MagnitudeControlledByAVRPu;Bess_GEN_InjectedCurrent;NetworkFrequencyPu
0.0;1.0444448391609773;0.750000004028;0.7180848388608915;-3.733540000388449e-07;-3.574664606881177e-07;1.0;10.0;0.750141;0.012606;0.012606;0.750141;0.012606;0.717984;-0.012066;0.750141;0.012605;1.044788;0.718085379750904;1.0
0.0;1.0444448391609773;0.750000004028;0.7180848388608915;-3.733540000388449e-07;-3.574664606881177e-07;1.0;10.0;0.750141;0.012606;0.012606;0.750141;0.012606;0.717984;-0.012066;0.750141;0.012605;1.044788;0.718085379750904;1.0
0.00711;1.0444448391609773;0.750000004028;0.7180848388608915;-3.733540000388449e-07;-3.574664606881177e-07;1.0;10.0;0.750141;0.012606;0.012606;0.750141;0.012606;0.717984;-0.012066;0.750141;0.012605;1.044788;0.718085379750904;1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ BusPDR_BUS_ReactiveCurrent = BusPDR_BUS_ReactiveCurrent
BusPDR_BUS_Voltage = BusPDR_BUS_Voltage
NetworkFrequencyPu = NetworkFrequencyPu
StepUp_Xfmr_XFMR_Tap = StepUp_Xfmr_XFMR_Tap
Wind_Turbine_GEN_InjectedActiveCurrent = Wind_Turbine_GEN_InjectedActiveCurrent
Wind_Turbine_GEN_InjectedReactiveCurrent = Wind_Turbine_GEN_InjectedReactiveCurrent
Wind_Turbine_GEN_AVRSetpointPu = Wind_Turbine_GEN_AVRSetpointPu
Wind_Turbine_GEN_MagnitudeControlledByAVRPu = Wind_Turbine_GEN_MagnitudeControlledByAVRPu
Wind_Turbine_GEN_InjectedCurrent = Wind_Turbine_GEN_InjectedCurrent
Bess_GEN_InjectedActiveCurrent = Bess_GEN_InjectedActiveCurrent
Bess_GEN_InjectedReactiveCurrent = Bess_GEN_InjectedReactiveCurrent
Bess_GEN_AVRSetpointPu = Bess_GEN_AVRSetpointPu
Bess_GEN_MagnitudeControlledByAVRPu = Bess_GEN_MagnitudeControlledByAVRPu
Bess_GEN_InjectedCurrent = Bess_GEN_InjectedCurrent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;InfiniteBus_BUS_NetworkFrequencyPu;StepUp_Xfmr_XFMR_Tap;Wind_Turbine_GEN_ActivePowerSetpointPu;Wind_Turbine_GEN_ReactivePowerSetpointPu;Wind_Turbine_GEN_AVRSetpointPu;Wind_Turbine_GEN_InjectedActivePower;Wind_Turbine_GEN_InjectedReactivePower;Wind_Turbine_GEN_InjectedActiveCurrent;Wind_Turbine_GEN_InjectedReactiveCurrent;Wind_Turbine_GEN_ActivePowerPu;Wind_Turbine_GEN_ReactivePowerPu;Wind_Turbine_GEN_MagnitudeControlledByAVRPu;Wind_Turbine_GEN_InjectedCurrent;NetworkFrequencyPu
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;InfiniteBus_BUS_NetworkFrequencyPu;StepUp_Xfmr_XFMR_Tap;Bess_GEN_ActivePowerSetpointPu;Bess_GEN_ReactivePowerSetpointPu;Bess_GEN_AVRSetpointPu;Bess_GEN_InjectedActivePower;Bess_GEN_InjectedReactivePower;Bess_GEN_InjectedActiveCurrent;Bess_GEN_InjectedReactiveCurrent;Bess_GEN_ActivePowerPu;Bess_GEN_ReactivePowerPu;Bess_GEN_MagnitudeControlledByAVRPu;Bess_GEN_InjectedCurrent;NetworkFrequencyPu
0.0;1.0966663296016708;-0.3749994061789999;-0.3419448523738361;-0.400000336623;-0.3647420603934174;1.0;10.0;-0.374932;-0.393889;-0.393889;-0.374932;-0.393889;-0.344705;0.362134;-0.374932;-0.393889;1.087688;0.4999625695799636;1.0
0.0;1.0966663296016708;-0.3749983102;-0.3419438530005806;-0.400000375444;-0.3647420957925164;1.0;10.0;-0.374932;-0.393889;-0.393889;-0.37493;-0.393889;-0.344703;0.362134;-0.37493;-0.39389;1.087688;0.499961190658835;1.0
1e-06;1.096666294203027;-0.374992414867;-0.341938488352572;-0.399999802383;-0.3647415850176094;1.0;10.0;-0.374932;-0.393889;-0.393889;-0.374924;-0.39389;-0.344699;0.362134;-0.374924;-0.39389;1.087688;0.4999584328291703;1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ BusPDR_BUS_ReactiveCurrent = BusPDR_BUS_ReactiveCurrent
BusPDR_BUS_Voltage = BusPDR_BUS_Voltage
NetworkFrequencyPu = NetworkFrequencyPu
StepUp_Xfmr_XFMR_Tap = StepUp_Xfmr_XFMR_Tap
Wind_Turbine_GEN_InjectedActiveCurrent = Wind_Turbine_GEN_InjectedActiveCurrent
Wind_Turbine_GEN_InjectedReactiveCurrent = Wind_Turbine_GEN_InjectedReactiveCurrent
Wind_Turbine_GEN_AVRSetpointPu = Wind_Turbine_GEN_AVRSetpointPu
Wind_Turbine_GEN_MagnitudeControlledByAVRPu = Wind_Turbine_GEN_MagnitudeControlledByAVRPu
Wind_Turbine_GEN_InjectedCurrent = Wind_Turbine_GEN_InjectedCurrent
Bess_GEN_InjectedActiveCurrent = Bess_GEN_InjectedActiveCurrent
Bess_GEN_InjectedReactiveCurrent = Bess_GEN_InjectedReactiveCurrent
Bess_GEN_AVRSetpointPu = Bess_GEN_AVRSetpointPu
Bess_GEN_MagnitudeControlledByAVRPu = Bess_GEN_MagnitudeControlledByAVRPu
Bess_GEN_InjectedCurrent = Bess_GEN_InjectedCurrent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;InfiniteBus_BUS_NetworkFrequencyPu;StepUp_Xfmr_XFMR_Tap;Wind_Turbine_GEN_ActivePowerSetpointPu;Wind_Turbine_GEN_ReactivePowerSetpointPu;Wind_Turbine_GEN_AVRSetpointPu;Wind_Turbine_GEN_InjectedActivePower;Wind_Turbine_GEN_InjectedReactivePower;Wind_Turbine_GEN_InjectedActiveCurrent;Wind_Turbine_GEN_InjectedReactiveCurrent;Wind_Turbine_GEN_ActivePowerPu;Wind_Turbine_GEN_ReactivePowerPu;Wind_Turbine_GEN_MagnitudeControlledByAVRPu;Wind_Turbine_GEN_InjectedCurrent;NetworkFrequencyPu
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;InfiniteBus_BUS_NetworkFrequencyPu;StepUp_Xfmr_XFMR_Tap;Bess_GEN_ActivePowerSetpointPu;Bess_GEN_ReactivePowerSetpointPu;Bess_GEN_AVRSetpointPu;Bess_GEN_InjectedActivePower;Bess_GEN_InjectedReactivePower;Bess_GEN_InjectedActiveCurrent;Bess_GEN_InjectedReactiveCurrent;Bess_GEN_ActivePowerPu;Bess_GEN_ReactivePowerPu;Bess_GEN_MagnitudeControlledByAVRPu;Bess_GEN_InjectedCurrent;NetworkFrequencyPu
0.0;0.9922218996318314;0.374999374186;0.3779390218308478;0.40000033958;0.4031359716293523;1.0;10.0;0.375083;0.407465;0.407465;0.375083;0.407465;0.374252;-0.406561;0.375083;0.407465;1.002222;0.5525906316840704;1.0
0.0;0.9922218996318314;0.374999374186;0.3779390218308478;0.40000033958;0.4031359716293523;1.0;10.0;0.375083;0.407465;0.407465;0.375083;0.407465;0.374252;-0.406561;0.375083;0.407465;1.002222;0.5525906316840704;1.0
2e-05;0.9922209007927618;0.374999359642;0.3779393876327177;0.399992026566;0.4031279992655018;1.0;10.0;0.375083;0.407465;0.407465;0.375083;0.407457;0.374252;-0.406554;0.375083;0.407457;1.002221;0.5525854815501399;1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ BusPDR_BUS_ReactiveCurrent = BusPDR_BUS_ReactiveCurrent
BusPDR_BUS_Voltage = BusPDR_BUS_Voltage
NetworkFrequencyPu = NetworkFrequencyPu
StepUp_Xfmr_XFMR_Tap = StepUp_Xfmr_XFMR_Tap
Wind_Turbine_GEN_InjectedActiveCurrent = Wind_Turbine_GEN_InjectedActiveCurrent
Wind_Turbine_GEN_InjectedReactiveCurrent = Wind_Turbine_GEN_InjectedReactiveCurrent
Wind_Turbine_GEN_AVRSetpointPu = Wind_Turbine_GEN_AVRSetpointPu
Wind_Turbine_GEN_MagnitudeControlledByAVRPu = Wind_Turbine_GEN_MagnitudeControlledByAVRPu
Wind_Turbine_GEN_InjectedCurrent = Wind_Turbine_GEN_InjectedCurrent
Bess_GEN_InjectedActiveCurrent = Bess_GEN_InjectedActiveCurrent
Bess_GEN_InjectedReactiveCurrent = Bess_GEN_InjectedReactiveCurrent
Bess_GEN_AVRSetpointPu = Bess_GEN_AVRSetpointPu
Bess_GEN_MagnitudeControlledByAVRPu = Bess_GEN_MagnitudeControlledByAVRPu
Bess_GEN_InjectedCurrent = Bess_GEN_InjectedCurrent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;StepUp_Xfmr_XFMR_Tap;Wind_Turbine_GEN_ActivePowerSetpointPu;Wind_Turbine_GEN_ReactivePowerSetpointPu;Wind_Turbine_GEN_AVRSetpointPu;Wind_Turbine_GEN_InjectedActivePower;Wind_Turbine_GEN_InjectedReactivePower;Wind_Turbine_GEN_InjectedActiveCurrent;Wind_Turbine_GEN_InjectedReactiveCurrent;Wind_Turbine_GEN_ActivePowerPu;Wind_Turbine_GEN_ReactivePowerPu;Wind_Turbine_GEN_MagnitudeControlledByAVRPu;Wind_Turbine_GEN_InjectedCurrent
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;StepUp_Xfmr_XFMR_Tap;Bess_GEN_ActivePowerSetpointPu;Bess_GEN_ReactivePowerSetpointPu;Bess_GEN_AVRSetpointPu;Bess_GEN_InjectedActivePower;Bess_GEN_InjectedReactivePower;Bess_GEN_InjectedActiveCurrent;Bess_GEN_InjectedReactiveCurrent;Bess_GEN_ActivePowerPu;Bess_GEN_ReactivePowerPu;Bess_GEN_MagnitudeControlledByAVRPu;Bess_GEN_InjectedCurrent
0.0;1.0444448220734306;0.750000701258;0.7180855181694515;0.399999680942;0.382978279453692;10.0;0.750181;0.416192;0.416192;0.750181;0.416192;0.711647;-0.394814;0.750181;0.416191;1.054148;0.8138301709847086
0.0;1.044443880792549;0.749999896035;0.7180853943688025;0.399999562895;0.3829785115802208;10.0;0.750181;0.416192;0.416192;0.750181;0.416192;0.711647;-0.394813;0.750181;0.416191;1.054148;0.8138296858544791
9e-06;1.0444407193254197;0.7499971174800001;0.7180849076474212;0.39999046386;0.3829709589629411;10.0;0.750181;0.416192;0.416192;0.750178;0.416183;0.711647;-0.394806;0.750178;0.416182;1.054144;0.81382628996918
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ BusPDR_BUS_ReactiveCurrent = BusPDR_BUS_ReactiveCurrent
BusPDR_BUS_Voltage = BusPDR_BUS_Voltage
NetworkFrequencyPu = NetworkFrequencyPu
StepUp_Xfmr_XFMR_Tap = StepUp_Xfmr_XFMR_Tap
Wind_Turbine_GEN_InjectedActiveCurrent = Wind_Turbine_GEN_InjectedActiveCurrent
Wind_Turbine_GEN_InjectedReactiveCurrent = Wind_Turbine_GEN_InjectedReactiveCurrent
Wind_Turbine_GEN_AVRSetpointPu = Wind_Turbine_GEN_AVRSetpointPu
Wind_Turbine_GEN_MagnitudeControlledByAVRPu = Wind_Turbine_GEN_MagnitudeControlledByAVRPu
Wind_Turbine_GEN_InjectedCurrent = Wind_Turbine_GEN_InjectedCurrent
Bess_GEN_InjectedActiveCurrent = Bess_GEN_InjectedActiveCurrent
Bess_GEN_InjectedReactiveCurrent = Bess_GEN_InjectedReactiveCurrent
Bess_GEN_AVRSetpointPu = Bess_GEN_AVRSetpointPu
Bess_GEN_MagnitudeControlledByAVRPu = Bess_GEN_MagnitudeControlledByAVRPu
Bess_GEN_InjectedCurrent = Bess_GEN_InjectedCurrent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;StepUp_Xfmr_XFMR_Tap;Wind_Turbine_GEN_ActivePowerSetpointPu;Wind_Turbine_GEN_ReactivePowerSetpointPu;Wind_Turbine_GEN_AVRSetpointPu;Wind_Turbine_GEN_InjectedActivePower;Wind_Turbine_GEN_InjectedReactivePower;Wind_Turbine_GEN_InjectedActiveCurrent;Wind_Turbine_GEN_InjectedReactiveCurrent;Wind_Turbine_GEN_ActivePowerPu;Wind_Turbine_GEN_ReactivePowerPu;Wind_Turbine_GEN_MagnitudeControlledByAVRPu;Wind_Turbine_GEN_InjectedCurrent
time;BusPDR_BUS_Voltage;BusPDR_BUS_ActivePower;BusPDR_BUS_ActiveCurrent;BusPDR_BUS_ReactivePower;BusPDR_BUS_ReactiveCurrent;StepUp_Xfmr_XFMR_Tap;Bess_GEN_ActivePowerSetpointPu;Bess_GEN_ReactivePowerSetpointPu;Bess_GEN_AVRSetpointPu;Bess_GEN_InjectedActivePower;Bess_GEN_InjectedReactivePower;Bess_GEN_InjectedActiveCurrent;Bess_GEN_InjectedReactiveCurrent;Bess_GEN_ActivePowerPu;Bess_GEN_ReactivePowerPu;Bess_GEN_MagnitudeControlledByAVRPu;Bess_GEN_InjectedCurrent
0.0;1.0444448391609773;0.750000004028;0.7180848388608915;-3.733540000388449e-07;-3.574664606881177e-07;10.0;0.750141;0.012605;0.012605;0.750141;0.012606;0.717984;-0.012066;0.750141;0.012605;1.044788;0.718085379750904
0.0;1.0444448391609773;0.750000004028;0.7180848388608915;-3.733540000388449e-07;-3.574664606881177e-07;10.0;0.750141;0.012605;0.012605;0.750141;0.012606;0.717984;-0.012066;0.750141;0.012605;1.044788;0.718085379750904
0.006933;1.0444448391609773;0.750000004028;0.7180848388608915;-3.733540000388449e-07;-3.574664606881177e-07;10.0;0.750141;0.012605;0.012605;0.750141;0.012606;0.717984;-0.012066;0.750141;0.012605;1.044788;0.718085379750904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ BusPDR_BUS_ReactiveCurrent = BusPDR_BUS_ReactiveCurrent
BusPDR_BUS_Voltage = BusPDR_BUS_Voltage
NetworkFrequencyPu = NetworkFrequencyPu
StepUp_Xfmr_XFMR_Tap = StepUp_Xfmr_XFMR_Tap
Wind_Turbine_GEN_InjectedActiveCurrent = Wind_Turbine_GEN_InjectedActiveCurrent
Wind_Turbine_GEN_InjectedReactiveCurrent = Wind_Turbine_GEN_InjectedReactiveCurrent
Wind_Turbine_GEN_AVRSetpointPu = Wind_Turbine_GEN_AVRSetpointPu
Wind_Turbine_GEN_MagnitudeControlledByAVRPu = Wind_Turbine_GEN_MagnitudeControlledByAVRPu
Wind_Turbine_GEN_InjectedCurrent = Wind_Turbine_GEN_InjectedCurrent
Bess_GEN_InjectedActiveCurrent = Bess_GEN_InjectedActiveCurrent
Bess_GEN_InjectedReactiveCurrent = Bess_GEN_InjectedReactiveCurrent
Bess_GEN_AVRSetpointPu = Bess_GEN_AVRSetpointPu
Bess_GEN_MagnitudeControlledByAVRPu = Bess_GEN_MagnitudeControlledByAVRPu
Bess_GEN_InjectedCurrent = Bess_GEN_InjectedCurrent
Loading

0 comments on commit c405ea6

Please sign in to comment.