-
Notifications
You must be signed in to change notification settings - Fork 51
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
Refactor VBR models #75
Labels
enhancement
New feature or request
Comments
dinkelbachjan
added a commit
that referenced
this issue
Jan 19, 2023
…r VBR models (#120) - fixes implementation of exciter DC1A model - adds new turbine governor TGOV1 (Ref: Milano, Power system modelling and scripting p. 358) - adds new validation notebook for controllers: [SP_Validation_ReducedOrderSG_VBR_SMIB_Fault_withControllers.ipynb](https://github.com/sogno-platform/dpsim/blob/SG_VBR_CurrentSource/examples/Notebooks/Circuits/SP_Validation_ReducedOrderSG_VBR_SMIB_Fault_withControllers.ipynb) - partially solves points of #75 - enables choice between thevenin and norton representation of VBR models, default is norton now - adds reduced order SG models, exciter and turbine governor to dpsimpy
dinkelbachjan
added a commit
that referenced
this issue
Jul 4, 2023
This PR covers the implementation of iterative reduced-order synchronous generator models, namely the PCM and TPM models. Besides, it removes the DCIM implementations, which are covered now by PCM models with zero iterations in the DP domain. It also refactors the VBR model implementations and involves a new DP-DQ interface, which is used by all DP reduced-order synchronous generator models (PCM, TPM, VBR) and shall be reused by other DQ based components in the future. Furthermore, it adds several validation notebooks to compare the different reduced-order models against each other and to compare the results of the 4th order VBR model in the WSCC benchmark system against results from PSAT. Based on #199 Rebase of #207 Related to #75, #221 and #225
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reuse the order-specific auxiliar constants in the domain specific VBR models
DP_Ph1_SynchronGenerator4OrderVBR
andSP_Ph1_SynchronGenerator4OrderVBR
Base_ReducedOrderSynchronGenerator
_t
as subscript e.g.mAd_t
Specify and reuse the order-specific resistance matrix constants in the domain specific VBR models
EMT_Ph3_SynchronGenerator4OrderVBR
andSP_Ph1_SynchronGenerator4OrderVBR
Base_ReducedOrderSynchronGenerator
Remove
Ef
from auxiliar constantsEf
Rename
Cq
toDq
Reconsider zero component in EMT_Ph3 models
Use resistance matrix constants
A
andB
inEMT_Ph3_SynchronGenerator4OrderVBR
Simplify the DP-DQ interface to obtain armature voltage (and armature current), which currently looks as follows
dpsim/models/Source/DP/DP_Ph1_SynchronGeneratorVBR.cpp
Lines 97 to 102 in 2499325
Instead of applying DP-EMT and EMT-DQ transformation, directly apply DP-DQ transformation, as e.g. done for the voltage behind the reactance
dpsim/models/Source/DP/DP_Ph1_SynchronGenerator3OrderVBR.cpp
Line 93 in 2499325
using
dpsim/models/Source/DP/DP_Ph1_SynchronGeneratorVBR.cpp
Lines 65 to 67 in 2499325
Harmonize implementation of DQ-DP and DQ-SP interface implementation
dpsim/models/Source/SP/SP_Ph1_SynchronGeneratorVBR.cpp
Lines 80 to 82 in 15657fe
Simplify definition of VBR resistance matrix in DP_Ph1 models according to equivalent derivation
dpsim/models/Source/DP/DP_Ph1_SynchronGeneratorVBR.cpp
Lines 47 to 50 in e6f3776
Rename
DP_Ph1_SynchronGeneratorVBR
andSP_Ph1_SynchronGeneratorVBR
to be consistent withEMT_Ph3_ReducedOrderSynchronGeneratorVBR
Make
SGModel
of typeString
. Then you can use'6a'
and'6b'
instead of6
and7
, which can become confusing in particular if we have models6c
,6d
etc. in the futureWe can add another case distinction during calculation of constants in
Base::ReducedOrderSynchronGenerator
, sincemAd_t
andmBd_t
are only used within the fourth-order model.dpsim/dpsim-models/src/Base/Base_ReducedOrderSynchronGenerator.cpp
Lines 216 to 217 in 2cca71a
The text was updated successfully, but these errors were encountered: