Skip to content

Commit

Permalink
Dynamic Simulation - Update IEEE14.sql for Default model (#91)
Browse files Browse the repository at this point in the history
This PR is following the previous PR : #88
thangqp authored Jan 17, 2024
1 parent 6c049ba commit f813c1c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/main/resources/IEEE14Models.sql
Original file line number Diff line number Diff line change
@@ -1090,4 +1090,18 @@ VALUES ('StaticVarCompensator', 'SVarC_injector_UPu'),
('StaticVarCompensator', 'SVarC_injector_PInjPu'),
('StaticVarCompensator', 'SVarC_injector_QInjPu'),
('StaticVarCompensator', 'SVarC_injector_BPu'),
('StaticVarCompensator', 'SVarC_modeHandling_mode_value');
('StaticVarCompensator', 'SVarC_modeHandling_mode_value');

--- model DefaultBus for BUS and BUSBAR_SECTION Equipment type
INSERT INTO models (model_name, equipment_type, created_date, default_model)
VALUES ('DefaultBus', 4, now()::timestamp, true);

INSERT INTO model_variable_definitions (variable_definition_name, type, unit, factor, created_date)
VALUES ('U_value', 2, 'kV', NULL, now()::timestamp),
('Upu_value', 2, NULL, NULL, now()::timestamp),
('phi_value', 2, '°', NULL, now()::timestamp);

INSERT INTO models_model_variable_definitions (model_name, variable_definition_name)
VALUES ('DefaultBus', 'U_value'),
('DefaultBus', 'Upu_value'),
('DefaultBus', 'phi_value');

0 comments on commit f813c1c

Please sign in to comment.