Is your feature request related to a problem? Please describe.
Implement PowerWorld - IEEEG1 by extend the existing IEEEG1 with a piecewise block GV
Describe the solution you'd like
A ready-to-run example is: https://github.com/CURENT/demo/blob/master/demo/IEEEG1PW/IEEEG1PW.ipynb
My trouble:
- Failed to fix TDS initialization error of Piecewise
GV
I also tried set self.IAW.y.v_iter = self.GV.y.e_str to catch the adjusted IAW_y, but didn't work
Overview of my implementation:
-
Refactor IEEEG1Model into three subclasses, IEEEG1SpeedControl, IEEEG1ValvePosition, and IEEEG1Turbine
https://github.com/jinningwang/andes/blob/2af50bd1ac1810aafd452dc2ac2897b459479ab6/andes/models/governor/ieeeg1.py#L304-L309
-
Change ConstService v0 into PostInitService to store changed IAW_y
https://github.com/jinningwang/andes/blob/2af50bd1ac1810aafd452dc2ac2897b459479ab6/andes/models/governor/ieeeg1.py#L248
-
Add class IEEEG1PWData to include the six pairs points
https://github.com/jinningwang/andes/blob/2af50bd1ac1810aafd452dc2ac2897b459479ab6/andes/models/governor/ieeeg1.py#L419-L434
-
Add Piecewise GV
https://github.com/jinningwang/andes/blob/2af50bd1ac1810aafd452dc2ac2897b459479ab6/andes/models/governor/ieeeg1.py#L460-L474
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Is your feature request related to a problem? Please describe.
Implement PowerWorld - IEEEG1 by extend the existing IEEEG1 with a piecewise block
GVDescribe the solution you'd like
A ready-to-run example is: https://github.com/CURENT/demo/blob/master/demo/IEEEG1PW/IEEEG1PW.ipynb
My trouble:
GVI also tried set
self.IAW.y.v_iter = self.GV.y.e_strto catch the adjustedIAW_y, but didn't workOverview of my implementation:
Refactor
IEEEG1Modelinto three subclasses,IEEEG1SpeedControl,IEEEG1ValvePosition, andIEEEG1Turbinehttps://github.com/jinningwang/andes/blob/2af50bd1ac1810aafd452dc2ac2897b459479ab6/andes/models/governor/ieeeg1.py#L304-L309
Change ConstService
v0intoPostInitServiceto store changedIAW_yhttps://github.com/jinningwang/andes/blob/2af50bd1ac1810aafd452dc2ac2897b459479ab6/andes/models/governor/ieeeg1.py#L248
Add class
IEEEG1PWDatato include the six pairs pointshttps://github.com/jinningwang/andes/blob/2af50bd1ac1810aafd452dc2ac2897b459479ab6/andes/models/governor/ieeeg1.py#L419-L434
Add Piecewise
GVhttps://github.com/jinningwang/andes/blob/2af50bd1ac1810aafd452dc2ac2897b459479ab6/andes/models/governor/ieeeg1.py#L460-L474
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context