# PSCAD validation case Test25: two Marconato machines on a dynamic network.
#
# Transcription of the PSID test system (ThreeBusMultiLoad.raw +
# psid_test_threebus_multimachine_dynlines), 60 Hz: Marconato machines at
# buses 1 (with the Type II governor) and 2 (constant mechanical power),
# both with the AVRSimple integrator exciter, a constant-impedance load at
# bus 3, and every line dynamic (run with line_dyn = True; b = 0.05 per line
# keeps a capacitance at every bus). No infinite bus: the machines carry the
# system. The reference trajectory was produced by PSCAD
# (upstream/Test25_v102.csv, via the PSID benchmark set); a PSID reference
# for the full three-level check is generated by ../generate.jl.
#
# Any edit here must be mirrored in ../generate.jl and the references
# regenerated.

Marconato, idx = "SG1", bus = "1", avr = "AVRSimple", Kv = 1.0, governor = "TGTypeII", Rd = 0.05, T1 = 1.0, T2 = 2.0, Sn = 100, fn = 60, H = 3.01, D = 0, f = 0, R_s = 0, x_d = 1.3125, x_q = 1.2578, x_dprim = 0.1813, x_qprim = 0.25, x_dsec = 0.14, x_qsec = 0.18, T_dprim = 5.89, T_qprim = 0.6, T_dsec = 0.5, T_qsec = 0.023, T_aa = 0

Marconato, idx = "SG2", bus = "2", avr = "AVRSimple", Kv = 1.0, governor = "GOVCONST", Sn = 100, fn = 60, H = 3.01, D = 0, f = 0, R_s = 0, x_d = 1.3125, x_q = 1.2578, x_dprim = 0.1813, x_qprim = 0.25, x_dsec = 0.14, x_qsec = 0.18, T_dprim = 5.89, T_qprim = 0.6, T_dsec = 0.5, T_qsec = 0.023, T_aa = 0

Line, bus_i = "1", bus_j = "3", r = 0.01, x = 0.12, g = 0, b = 0.05, trafo = 1
Line, bus_i = "1", bus_j = "2", r = 0.01, x = 0.12, g = 0, b = 0.05, trafo = 1
Line, bus_i = "2", bus_j = "3", r = 0.01, x = 0.12, g = 0, b = 0.05, trafo = 1

StaticZIP, bus = "3", z_share = 1.0

BusInit, bus = "1", p = 0, v = 1.02, type = "slack"
BusInit, bus = "2", p = -80, v = 1.0142, type = "PV"
BusInit, bus = "3", p = 180, q = 30, type = "PQ"
