Skip to content

Commit

Permalink
dynawo#30 Add timeline event for IBG overvoltage trips
Browse files Browse the repository at this point in the history
Signed-off-by: FredericSabot <[email protected]>
  • Loading branch information
FredericSabot committed Apr 8, 2024
1 parent 949ee1b commit 7eaab13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dynawo/sources/Common/Dictionaries/DYNTimeline_en_GB.dic
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ DCLineClosed = DC line closed
LVRTTripped = LVRT generator tripped
LVRTArming = LVRT automaton for generator arming
LVRTDisarming = LVRT automaton for generator disarming
// --> Over voltage protection
OverVoltageTripped = Over-voltage protection tripped
// --> Aggregated IBG
PartialTripping = Partial tripping ongoing
// --> Distance protection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ within Dynawo.Electrical.InverterBasedGeneration.BaseClasses.GenericIBG;
*/

model OverVoltageProtection
import Dynawo.NonElectrical.Logs.Timeline;
import Dynawo.NonElectrical.Logs.TimelineKeys;

parameter Types.VoltageModulePu UMaxPu "Maximum voltage over which the unit is disconnected in pu (base UNom)";

Dynawo.Connectors.BPin switchOffSignal(value(start = false)) "Switch off message for the generator";
Expand All @@ -24,6 +27,7 @@ model OverVoltageProtection
equation
when Um > UMaxPu then
switchOffSignal.value = true;
Timeline.logEvent1(TimelineKeys.OverVoltageTripped);
end when;

annotation(preferredView = "text");
Expand Down

0 comments on commit 7eaab13

Please sign in to comment.