Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009815, allocations: 110.5 kB / 16.42 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 187.2 kB / 17.36 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.42e-05, allocations: 7.062 kB / 327.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.02217/0.02221, allocations: 24.04 MB / 351.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.03746, allocations: 7.109 MB / 358.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004502/0.04202, allocations: 131.5 kB / 358.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.04625, allocations: 1.576 MB / 360.1 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007184/0.05349, allocations: 2.271 MB / 362.3 MB, free: 12 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.05698, allocations: 1.462 MB / 363.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.06787, allocations: 8.47 MB / 372.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00495/0.07285, allocations: 4.099 MB / 376.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1565/0.2294, allocations: 2.947 MB / 379.3 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006143/0.2356, allocations: 3.171 MB / 382.5 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.2371, allocations: 0.5986 MB / 383.1 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005929/0.243, allocations: 1.972 MB / 385.1 MB, free: 17.01 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.008911/0.2519, allocations: 8.903 MB / 394 MB, free: 12.87 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004574/0.2565, allocations: 5.66 MB / 399.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001981/0.2585, allocations: 0.838 MB / 400.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0008522/0.2594, allocations: 117.9 kB / 400.6 MB, free: 9.352 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 (1028) * Number of variables: 1496 (996) Notification: Performance of Bindings: time 0.0273/0.2867, allocations: 31.58 MB / 432.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.00387/0.2906, allocations: 3.401 MB / 435.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01868/0.3093, allocations: 17.54 MB / 453.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simplify1: time 0.001502/0.3108, allocations: 0.9464 MB / 454 MB, free: 276 kB / 350.1 MB Notification: Performance of Alias: time 0.02456/0.3354, allocations: 19.93 MB / 474 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simplify2: time 0.001458/0.3369, allocations: 0.7018 MB / 474.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of Events: time 0.002508/0.3394, allocations: 2.548 MB / 477.2 MB, free: 8.27 MB / 382.1 MB Notification: Performance of Detect States: time 0.003283/0.3427, allocations: 3.509 MB / 480.7 MB, free: 4.762 MB / 382.1 MB Notification: Performance of Partitioning: time 0.006644/0.3494, allocations: 5.298 MB / 486 MB, free: 15.39 MB / 398.1 MB Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (687/1200) ***************************** (1) [ALGB] (1) redeclare Real smeeM.airGap.Phi_sr.re (2) [ALGB] (2) flow Real[2] smeeE.spacePhasorS.spacePhasor.i_ (3) [ALGB] (3) flow Real[3] terminalBoxE.plug_sp.pin.i (4) [ALGB] (2) redeclare Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im (5) [ALGB] (1) flow Real smeeM.rotorCage.strayReluctance.port_p.Phi.im (6) [ALGB] (1) Real smeeM.excitation.resistor.R_actual (7) [DER-] (3) redeclare Real[3] $DER.smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re (8) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re (9) [ALGB] (3) Real[3] terminalBoxE.plug_sp.pin.v (10) [ALGB] (3) Real[3] smeeM.thermalAmbient.thermalCollectorStator.port_a.T (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (11) [ALGB] (2) Real[2] smeeE.electricalExcitation.spacePhasor_r.v_ (12) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.excitation.electroMagneticConverter.Phi) (13) [ALGB] (1) Real terminalBoxE.star.pin_n.v (14) [ALGB] (1) flow Real smeeE.re.heatPort.Q_flow = -(-smeeE.re.heatPort.Q_flow) (15) [ALGB] (3) flow Real[3] rotorAngleM.VoltageSensor1.voltageSensor.p.i (16) [DER-] (1) Real $DER.smeeM.friction.phi (17) [ALGB] (1) flow Real smeeM.excitation.electroMagneticConverter.port_p.Phi.re (18) [ALGB] (2) protected Real[2] electricalPowerSensorE.i_ (19) [ALGB] (1) final Real smeeE.thermalAmbient.Q_flowStrayLoad = smeeE.thermalAmbient.Q_flowStrayLoad (20) [ALGB] (1) Real smeeE.lesigma.n.v (21) [ALGB] (1) Real smeeE.brush.n.v (22) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.arg_V_m = Modelica.ComplexMath.arg(smeeM.excitation.electroMagneticConverter.V_m, 0.0) (23) [ALGB] (3) Real[3] rotorAngleM.VoltageSensor1.voltageSensor.p.v (24) [ALGB] (3) Real[3] smeeE.rs.heatPort.T (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (25) [ALGB] (3) Real[3] smeeE.rs.resistor.i (26) [ALGB] (2) flow Real[2] smeeE.lssigma.spacePhasor_b.i_ (27) [ALGB] (1) redeclare Real smeeM.airGap.V_mrr.re (28) [ALGB] (1) redeclare Real smeeM.excitation.electroMagneticConverter.V_m.im (29) [DISC] (2) Boolean[2] $SEV_8[$i1] (30) [ALGB] (1) Real smeeM.airGap.rotator.im (31) [ALGB] (3) Real[3] smeeE.rs.resistor.v (32) [ALGB] (3) flow Real[3] smeeM.stator.heatPortWinding.Q_flow (33) [ALGB] (3) Real[3] sineVoltage.plug_p.pin.v (34) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.excitation.electroMagneticConverter.V_m) (35) [ALGB] (1) flow Real smeeM.excitation.reluctance.port_p.Phi.im (36) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.v = smeeM.stator.electroMagneticConverter.plug_p.pin.v - smeeM.stator.electroMagneticConverter.plug_n.pin.v (37) [ALGB] (1) Real smeeM.airGap.port_sn.V_m.re (38) [ALGB] (1) flow Real smeeM.airGap.port_rn.Phi.im (39) [ALGB] (1) Real smeeM.excitation.port_n.V_m.re (40) [ALGB] (3) flow Real[3] sineVoltage.plug_p.pin.i (41) [ALGB] (1) Real smeeM.airGap.port_rp.V_m.im (42) [ALGB] (3) flow Real[3] smeeE.plug_sn.pin.i (43) [ALGB] (3) Real[3] sineVoltage.v (44) [ALGB] (3) Real[3] sineVoltage.plug_n.pin.v (45) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.i = smeeM.stator.electroMagneticConverter.plug_p.pin.i (46) [ALGB] (1) final Real smeeE.thermalAmbient.Q_flowTotal = smeeE.thermalAmbient.Q_flowStrayLoad + smeeE.thermalAmbient.Q_flowStatorCore + smeeE.thermalAmbient.Q_flowRotorWinding + smeeE.thermalAmbient.Q_flowStatorWinding + smeeE.thermalAmbient.Q_flowExcitation + 0.0 + smeeE.thermalAmbient.Q_flowFriction (47) [ALGB] (1) flow Real smeeM.stator.port_p.Phi.re (48) [ALGB] (1) redeclare Real smeeM.excitation.Phi.im = smeeM.excitation.port_p.Phi.im (49) [DER-] (1) Real $DER.smeeM.stator.zeroInductor.i0 (50) [ALGB] (3) Real[3] smeeE.plug_sn.pin.v (51) [ALGB] (3) Real[3] sineVoltage.i (52) [ALGB] (3) flow Real[3] sineVoltage.plug_n.pin.i (53) [ALGB] (1) redeclare Real smeeM.stator.electroMagneticConverter.Phi.im = smeeM.stator.electroMagneticConverter.port_p.Phi.im (54) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowStrayLoad = smeeM.thermalAmbient.Q_flowStrayLoad (55) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.port_n.V_m.re (56) [ALGB] (3) flow Real[3] smeeE.plug_sp.pin.i (57) [ALGB] (1) flow Real smeeM.stator.core.port_n.Phi.re (58) [ALGB] (1) Real smeeM.stator.core.port_p.V_m.re (59) [ALGB] (1) flow Real smeeE.thermalAmbient.thermalPort.heatPortBrush.Q_flow (60) [ALGB] (1) flow Real smeeM.airGap.port_rp.Phi.re (61) [DER-] (2) Real[2] $DER.smeeE.lssigma.i_ (62) [ALGB] (2) flow Real[2] smeeM.rotorCage.thermalCollector.port_a.Q_flow (63) [ALGB] (3) Real[3] smeeE.plug_sp.pin.v (64) [ALGB] (1) Real smeeM.stator.port_p.V_m.im (65) [ALGB] (1) flow Real smeeM.stator.port_n.Phi.im (66) [ALGB] (3) flow Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im (67) [ALGB] (1) Real $FUN_39 (68) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowStatorWinding = smeeM.thermalAmbient.Q_flowStatorWinding (69) [ALGB] (1) Real $FUN_36 (70) [ALGB] (2) Real[2] smeeE.statorCore.spacePhasor.v_ (71) [ALGB] (1) Real $FUN_35 (72) [ALGB] (4) Real[2, 2] smeeE.airGapR.RotationMatrix (73) [ALGB] (1) Real $FUN_33 (74) [ALGB] (1) Real $FUN_32 (75) [ALGB] (1) redeclare Real smeeM.excitation.reluctance.Phi.im (76) [ALGB] (1) Real $FUN_31 (77) [ALGB] (1) Real $FUN_30 (78) [ALGB] (1) Real smeeM.stator.core.port_n.V_m.im (79) [ALGB] (1) redeclare Real smeeM.rotorCage.strayReluctance.V_m.re (80) [ALGB] (1) redeclare Real smeeM.stator.core.V_m.re (81) [ALGB] (1) final output Real smeeE.powerBalance.lossPowerStatorCore = -smeeE.statorCore.heatPort.Q_flow (82) [ALGB] (1) Real $FUN_28 (83) [ALGB] (1) Real $FUN_27 (84) [ALGB] (1) Real $FUN_24 (85) [ALGB] (3) flow Real[3] smeeE.spacePhasorS.plug_n.pin.i (86) [ALGB] (1) Real $FUN_23 (87) [ALGB] (1) Real smeeM.stator.core.lossPower (88) [ALGB] (1) Real $FUN_21 (89) [ALGB] (1) Real $FUN_20 (90) [ALGB] (1) flow Real smeeM.stator.strayReluctance.port_p.Phi.im (91) [ALGB] (1) flow Real smeeE.inertiaRotor.flange_b.tau (92) [ALGB] (1) Real smeeM.rotorCage.port_n.V_m.re (93) [ALGB] (3) Real[3] smeeE.spacePhasorS.plug_n.pin.v (94) [ALGB] (1) Real smeeM.strayLoad.w (95) [ALGB] (3) Real[3] smeeM.strayLoad.v (96) [ALGB] (1) flow Real mechanicalPowerSensorM.flange_a.tau (97) [ALGB] (3) Real[3] smeeM.stator.zeroInductor.i (98) [ALGB] (3) flow Real[3] smeeE.spacePhasorS.plug_p.pin.i (99) [ALGB] (1) Real smeeM.strayLoad.iRMS = Modelica.Electrical.MultiPhase.Functions.quasiRMS(smeeM.strayLoad.i) (100) [ALGB] (1) flow Real smeeM.excitation.port_p.Phi.im (101) [ALGB] (3) Real[3] smeeM.strayLoad.i (102) [ALGB] (1) final output Real smeeE.powerBalance.lossPowerFriction = -smeeE.friction.heatPort.Q_flow (103) [DER-] (1) redeclare Real $DER.smeeM.stator.core.Phi.re (104) [ALGB] (3) Real[3] smeeM.stator.zeroInductor.v (105) [ALGB] (3) Real[3] smeeE.spacePhasorS.plug_p.pin.v (106) [ALGB] (3) flow Real[3] rotorAngleE.plug_n.pin.i (107) [ALGB] (1) Real $FUN_10 (108) [ALGB] (2) Real[2] smeeE.airGapR.spacePhasor_r.v_ (109) [ALGB] (1) redeclare Real smeeM.rotorCage.Phi.im = smeeM.rotorCage.port_p.Phi.im (110) [ALGB] (1) redeclare Real smeeM.airGap.Phi_rr.im (111) [DER-] (1) Real $DER.smeeE.phiMechanical (112) [ALGB] (1) Real smeeM.stator.strayReluctance.arg_Phi = Modelica.ComplexMath.arg(smeeM.stator.strayReluctance.Phi, 0.0) (113) [ALGB] (3) Real[3] smeeM.is = smeeM.plug_sp.pin.i (start = {0.0 for $i1 in 1:3}) (114) [ALGB] (2) Real[2] smeeM.ir (fixed = {true for $i1 in 1:2}, start = {0.0 for $i1 in 1:2}) (115) [ALGB] (3) Real[3] rotorAngleE.plug_n.pin.v (116) [ALGB] (1) flow Real mechanicalPowerSensorM.torqueSensor.flange_a.tau (117) [ALGB] (1) Real smeeE.strayLoad.iRMS = Modelica.Electrical.MultiPhase.Functions.quasiRMS(smeeE.strayLoad.i) (118) [ALGB] (3) Real[3] rotorAngleM.VoltageSensor1.v (119) [ALGB] (1) Real smeeM.rotorCage.arg_Phi = Modelica.ComplexMath.arg(smeeM.rotorCage.Phi, 0.0) (120) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im (121) [ALGB] (3) flow Real[3] rotorAngleE.plug_p.pin.i (122) [ALGB] (1) Real mechanicalPowerSensorE.product.y (123) [ALGB] (1) Real smeeM.ie = smeeM.ie (124) [ALGB] (1) flow Real smeeM.groundR.port_p.Phi.im (125) [ALGB] (3) Real[3] smeeM.stator.resistor.resistor.R_actual (126) [ALGB] (3) Real[3] rotorAngleE.plug_p.pin.v (127) [ALGB] (1) redeclare Real smeeM.stator.V_m.re (128) [ALGB] (2) final Real[2] smeeE.idq_rr = smeeE.airGapR.i_rr (StateSelect = prefer) (129) [ALGB] (2) final Real[2] smeeE.idq_rs = smeeE.airGapR.i_rs (130) [ALGB] (1) flow Real smeeE.brush.heatPort.Q_flow = -(-smeeE.brush.heatPort.Q_flow) (131) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowExcitation = smeeM.thermalAmbient.Q_flowExcitation (132) [ALGB] (1) Real smeeM.stator.strayReluctance.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.stator.strayReluctance.Phi) (133) [ALGB] (1) Real rotorAngleM.add.y (134) [ALGB] (3) Real[3] smeeE.rs.resistor.R_actual (135) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re (136) [ALGB] (3) flow Real[3] smeeE.thermalAmbient.thermalCollectorStator.port_a.Q_flow (137) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re (138) [ALGB] (1) Real smeeM.rotorCage.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.rotorCage.Phi) (139) [ALGB] (3) Real[3] smeeM.stator.heatPortWinding.T (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (140) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.T_heatPort (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2}) (141) [ALGB] (3) flow Real[3] smeeM.stator.zeroInductor.plug_n.pin.i (142) [ALGB] (1) Real smeeM.stator.strayReluctance.arg_V_m = Modelica.ComplexMath.arg(smeeM.stator.strayReluctance.V_m, 0.0) (143) [ALGB] (1) Real smeeM.brush.n.v (144) [ALGB] (1) Real electricalPowerSensorE.P (145) [ALGB] (1) redeclare Real smeeM.airGap.Phi_ss.re (146) [ALGB] (1) Real electricalPowerSensorE.Q (147) [ALGB] (2) final Real[2] smeeE.idq_sr = smeeE.airGapR.i_sr (StateSelect = prefer) (148) [DER-] (2) redeclare Real[2] $DER.smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re (149) [ALGB] (2) final Real[2] smeeE.idq_ss = smeeE.airGapR.i_ss (150) [ALGB] (3) flow Real[3] terminalBoxM.star.plug_p.pin.i (151) [ALGB] (1) Real smeeM.rotorCage.arg_V_m = Modelica.ComplexMath.arg(smeeM.rotorCage.V_m, 0.0) (152) [ALGB] (1) redeclare Real smeeM.rotorCage.electroMagneticConverter.Phi.im = smeeM.rotorCage.electroMagneticConverter.port_p.Phi.im (153) [ALGB] (3) Real[3] smeeM.stator.zeroInductor.plug_n.pin.v (154) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowTotal = smeeM.thermalAmbient.Q_flowStrayLoad + smeeM.thermalAmbient.Q_flowStatorCore + smeeM.thermalAmbient.Q_flowRotorWinding + smeeM.thermalAmbient.Q_flowStatorWinding + smeeM.thermalAmbient.Q_flowExcitation + 0.0 + smeeM.thermalAmbient.Q_flowFriction (155) [ALGB] (3) Real[3] smeeE.is = smeeE.plug_sp.pin.i (156) [ALGB] (1) flow Real smeeM.stator.electroMagneticConverter.port_p.Phi.im (157) [ALGB] (2) Real[2] rotorAngleM.ToPolarVSR.y (158) [ALGB] (2) Real[2] smeeE.ir (fixed = {true for $i1 in 1:2}, start = {0.0 for $i1 in 1:2}) (159) [ALGB] (3) flow Real[3] smeeM.stator.zeroInductor.plug_p.pin.i (160) [ALGB] (3) Real[3] terminalBoxM.star.plug_p.pin.v (161) [ALGB] (1) redeclare Real smeeM.stator.strayReluctance.Phi.im (162) [ALGB] (2) Real[2] rotorAngleM.ToPolarVSR.u (163) [ALGB] (1) final output Real smeeM.powerBalance.powerMechanical = smeeM.wMechanical * smeeM.tauShaft (164) [ALGB] (3) Real[3] smeeM.stator.resistor.resistor.heatPort.T = {smeeM.stator.resistor.resistor[$resistor1].T_heatPort for $resistor1 in 1:3} (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (165) [ALGB] (3) Real[3] rotorAngleM.VoltageSensor1.plug_p.pin.v (166) [ALGB] (1) Real smeeM.excitation.reluctance.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.excitation.reluctance.V_m) (167) [ALGB] (1) Real smeeM.stator.strayReluctance.port_n.V_m.re (168) [ALGB] (1) flow Real smeeM.rotorCage.strayReluctance.port_p.Phi.re (169) [ALGB] (1) flow Real smeeM.rotorCage.port_p.Phi.im (170) [ALGB] (2) redeclare Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re (171) [ALGB] (3) flow Real[3] rotorAngleM.plug_n.pin.i (172) [DER-] (3) redeclare Real[3] $DER.smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im (173) [ALGB] (3) Real[3] smeeM.stator.zeroInductor.plug_p.pin.v (174) [ALGB] (3) flow Real[3] rotorAngleM.VoltageSensor1.plug_p.pin.i (175) [ALGB] (1) Real smeeM.stator.strayReluctance.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.stator.strayReluctance.V_m) (176) [ALGB] (1) flow Real smeeE.fixed.flange.tau (177) [ALGB] (1) flow Real mechanicalPowerSensorE.torqueSensor.flange_a.tau (178) [ALGB] (1) Real smeeE.electricalExcitation.ve (179) [DISC] (1) Boolean $TEV_3 (180) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v (181) [DISC] (1) Boolean $TEV_2 (182) [ALGB] (3) Real[3] rotorAngleM.plug_n.pin.v (183) [ALGB] (3) Real[3] rotorAngleM.VoltageSensor1.plug_n.pin.v (184) [DISC] (1) Boolean $TEV_1 (185) [DISC] (1) Boolean $TEV_0 (186) [ALGB] (1) redeclare Real smeeM.airGap.V_msr.im (187) [ALGB] (1) Real smeeM.rotorCage.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.rotorCage.V_m) (188) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.resistor.n.i (189) [ALGB] (1) flow Real smeeM.excitation.electroMagneticConverter.port_p.Phi.im (190) [ALGB] (1) final output Real smeeE.powerBalance.powerInertiaRotor = smeeE.inertiaRotor.a * smeeE.inertiaRotor.J * smeeE.inertiaRotor.w (191) [ALGB] (2) flow Real[2] smeeE.lssigma.spacePhasor_a.i_ (192) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerTotal = smeeM.powerBalance.lossPowerExcitation + smeeM.powerBalance.lossPowerFriction + smeeM.powerBalance.lossPowerRotorCore + smeeM.powerBalance.lossPowerStatorWinding + smeeM.powerBalance.lossPowerStatorCore + smeeM.powerBalance.lossPowerStrayLoad + smeeM.powerBalance.lossPowerRotorWinding + smeeM.powerBalance.lossPowerBrush (193) [ALGB] (3) flow Real[3] rotorAngleM.plug_p.pin.i (194) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.i (195) [ALGB] (3) flow Real[3] rotorAngleM.VoltageSensor1.plug_n.pin.i (196) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.port_p.V_m.im (197) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.n.v (198) [ALGB] (1) Real smeeM.excitation.resistor.n.v (199) [ALGB] (1) flow Real smeeM.rotorCage.strayReluctance.port_n.Phi.im (200) [ALGB] (1) Real smeeM.excitation.reluctance.arg_V_m = Modelica.ComplexMath.arg(smeeM.excitation.reluctance.V_m, 0.0) (201) [ALGB] (3) Real[3] rotorAngleM.plug_p.pin.v (202) [ALGB] (1) final output Real smeeE.powerBalance.powerInertiaStator = smeeE.inertiaStator.a * smeeE.inertiaStator.J * smeeE.inertiaStator.w (203) [ALGB] (1) Real rotorAngleE.add.y (204) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerFriction = -smeeM.friction.heatPort.Q_flow (205) [ALGB] (1) Real smeeM.excitation.reluctance.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.excitation.reluctance.Phi) (206) [ALGB] (1) flow Real smeeM.rotorCage.heatPortWinding.Q_flow (207) [ALGB] (1) protected Real smeeM.damperCageLossPower (208) [ALGB] (2) Real[2] smeeM.rotorCage.i = smeeM.rotorCage.electroMagneticConverter.i (209) [ALGB] (1) Real smeeM.friction.w (210) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.v (211) [ALGB] (2) flow Real[2] smeeE.airGapR.spacePhasor_s.i_ (212) [ALGB] (1) flow Real smeeM.excitation.reluctance.port_p.Phi.re (213) [ALGB] (1) Real smeeM.airGap.port_sn.V_m.im (214) [ALGB] (3) flow Real[3] smeeE.rs.plug_n.pin.i (215) [ALGB] (1) flow Real smeeM.rotorCage.star.pin_n.i (216) [ALGB] (1) final output Real smeeE.powerBalance.lossPowerStatorWinding = sum(smeeE.rs.resistor.LossPower) (217) [ALGB] (1) Real smeeE.re.R_actual (218) [ALGB] (1) final output Real smeeE.powerBalance.lossPowerRotorWinding = -smeeE.damperCage.heatPort.Q_flow (219) [ALGB] (1) Real smeeE.tauElectrical = smeeE.tauElectrical (220) [ALGB] (3) Real[3] smeeE.rs.plug_n.pin.v (221) [DER-] (1) Real $DER.smeeM.strayLoad.phi (222) [ALGB] (1) Real smeeM.excitation.reluctance.arg_Phi = Modelica.ComplexMath.arg(smeeM.excitation.reluctance.Phi, 0.0) (223) [ALGB] (3) flow Real[3] smeeE.rs.plug_p.pin.i (224) [ALGB] (3) Real[3] smeeE.rs.v (225) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v (226) [ALGB] (1) Real smeeE.wMechanical = der(smeeE.phiMechanical) (start = 0.0) (227) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.arg_Phi = Modelica.ComplexMath.arg(smeeM.rotorCage.strayReluctance.Phi, 0.0) (228) [ALGB] (1) redeclare Real smeeM.stator.electroMagneticConverter.Phi.re = smeeM.stator.electroMagneticConverter.port_p.Phi.re (229) [ALGB] (1) flow Real smeeM.inertiaStator.flange_a.tau (230) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.resistor.p.i (231) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.port_n.V_m.im (232) [ALGB] (1) flow Real smeeM.excitation.reluctance.port_n.Phi.im (233) [ALGB] (1) Real smeeM.excitation.reluctance.port_p.V_m.im (234) [ALGB] (1) flow Real groundE.p.i (235) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.port_n.V_m.re (236) [ALGB] (1) Real smeeM.airGap.port_sp.V_m.re (237) [ALGB] (1) flow Real smeeM.airGap.port_sn.Phi.re (238) [ALGB] (3) flow Real[3] terminalBoxE.plugSupply.pin.i (239) [ALGB] (1) flow Real smeeM.airGap.port_rp.Phi.im (240) [ALGB] (3) Real[3] smeeE.rs.plug_p.pin.v (241) [DISC] (3) Boolean[3] $SEV_6[$i1] (242) [ALGB] (3) Real[3] smeeE.rs.i (243) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerBrush = -smeeM.brush.heatPort.Q_flow (244) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.i (245) [DISC] (3) Boolean[3] $SEV_9[$i1] (246) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.p.v (247) [ALGB] (1) Real terminalBoxM.star.pin_n.v (248) [ALGB] (1) flow Real smeeM.friction.heatPort.Q_flow = -(-smeeM.friction.heatPort.Q_flow) (249) [ALGB] (1) flow Real smeeM.stator.port_n.Phi.re (250) [ALGB] (1) Real smeeM.stator.port_p.V_m.re (251) [ALGB] (2) Real[2] smeeE.airGapR.i_ss (252) [ALGB] (3) Real[3] terminalBoxE.plugSupply.pin.v (253) [ALGB] (2) Real[2] smeeE.airGapR.i_sr (254) [ALGB] (3) flow Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re (255) [ALGB] (3) redeclare Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re (256) [ALGB] (3) flow Real[3] electricalPowerSensorM.plug_ni.pin.i (257) [ALGB] (3) Real[3] rotorAngleM.VoltageSensor1.voltageSensor.v (258) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.resistor.heatPort.Q_flow = {-smeeM.rotorCage.resistor.resistor[$resistor1].LossPower for $resistor1 in 1:2} (259) [ALGB] (1) redeclare Real smeeM.stator.electroMagneticConverter.V_m.im (260) [ALGB] (2) Real[2] smeeE.spacePhasorS.spacePhasor.v_ (261) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.port_n.V_m.re (262) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.rotorCage.strayReluctance.Phi) (263) [ALGB] (1) flow Real smeeM.rotorCage.electroMagneticConverter.port_n.Phi.re (264) [ALGB] (3) Real[3] sineVoltage.sineVoltage.v (265) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.port_p.V_m.re (266) [ALGB] (1) Real smeeM.groundS.port_p.V_m.re (267) [ALGB] (1) flow Real smeeM.brush.heatPort.Q_flow = -(-smeeM.brush.heatPort.Q_flow) (268) [ALGB] (1) Real smeeM.stator.core.port_n.V_m.re (269) [ALGB] (3) Real[3] electricalPowerSensorM.plug_ni.pin.v (270) [ALGB] (3) flow Real[3] smeeM.internalThermalPort.heatPortStatorWinding.Q_flow (271) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.v (272) [ALGB] (3) flow Real[3] smeeM.strayLoad.plug_n.pin.i (273) [ALGB] (1) redeclare Real smeeM.rotorCage.strayReluctance.V_m.im (274) [ALGB] (3) Real[3] rotorAngleE.VoltageSensor1.v (275) [ALGB] (3) Real[3] sineVoltage.sineVoltage.i (276) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.arg_V_m = Modelica.ComplexMath.arg(smeeM.rotorCage.strayReluctance.V_m, 0.0) (277) [ALGB] (2) Real[2] smeeE.airGapR.i_rs (278) [ALGB] (1) Real smeeM.stator.port_n.V_m.im (279) [ALGB] (2) Real[2] smeeE.airGapR.i_rr (280) [DER-] (1) Real $DER.smeeE.inertiaStator.w (281) [ALGB] (3) flow Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im (282) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im (283) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.i (284) [ALGB] (3) Real[3] smeeM.strayLoad.plug_n.pin.v (285) [ALGB] (1) Real smeeE.damperCage.Rrq_actual (286) [ALGB] (1) final output Real smeeE.powerBalance.powerExcitation = smeeE.ve * smeeE.ie (287) [ALGB] (1) final Real smeeE.thermalAmbient.Q_flowStatorCore = smeeE.thermalAmbient.Q_flowStatorCore (288) [ALGB] (1) Real smeeE.airGapR.gamma (289) [ALGB] (1) final output Real smeeM.powerBalance.powerInertiaRotor = smeeM.inertiaRotor.a * smeeM.inertiaRotor.J * smeeM.inertiaRotor.w (290) [ALGB] (3) flow Real[3] smeeM.strayLoad.plug_p.pin.i (291) [ALGB] (1) Real mechanicalPowerSensorM.product.y (292) [DER-] (1) Real $DER.smeeM.inertiaRotor.w (293) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerStatorCore = smeeM.stator.core.lossPower (294) [ALGB] (1) Real mechanicalPowerSensorM.relSpeedSensor.w_rel (295) [ALGB] (3) protected flow Real[3] smeeE.internalThermalPort.heatPortStatorWinding.Q_flow (296) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v (297) [ALGB] (3) Real[3] smeeM.strayLoad.plug_p.pin.v (298) [ALGB] (1) redeclare Real smeeM.rotorCage.strayReluctance.Phi.re (299) [ALGB] (3) Real[3] rotorAngleE.VoltageSensor1.voltageSensor.v (300) [ALGB] (1) flow Real smeeM.excitation.port_p.Phi.re (301) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.plug_p.pin.i (302) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.rotorCage.strayReluctance.V_m) (303) [ALGB] (3) Real[3] smeeE.rs.resistor.heatPort.T = {smeeE.rs.resistor[$resistor1].T_heatPort for $resistor1 in 1:3} (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (304) [ALGB] (3) flow Real[3] smeeM.stator.resistor.resistor.heatPort.Q_flow = {-smeeM.stator.resistor.resistor[$resistor1].LossPower for $resistor1 in 1:3} (305) [DER-] (1) Real $DER.constantSpeedE.flange.phi (306) [ALGB] (3) flow Real[3] smeeM.stator.resistor.resistor.n.i (307) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.plug_n.pin.v (308) [ALGB] (1) final output Real smeeE.powerBalance.lossPowerRotorCore = 0.0 (309) [ALGB] (3) Real[3] electricalPowerSensorM.plug_p.pin.v (310) [ALGB] (3) flow Real[3] smeeM.stator.resistor.heatPort.Q_flow (311) [ALGB] (1) Real rampCurrentM.n.v (312) [ALGB] (1) redeclare Real smeeM.airGap.Phi_rr.re (313) [ALGB] (3) flow Real[3] terminalBoxM.plug_sn.pin.i (314) [ALGB] (3) Real[3] smeeM.stator.resistor.resistor.n.v (315) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.plug_n.pin.i (316) [ALGB] (3) flow Real[3] electricalPowerSensorM.plug_p.pin.i (317) [ALGB] (3) Real[3] terminalBoxM.plug_sn.pin.v (318) [ALGB] (3) Real[3] smeeM.stator.resistor.heatPort.T (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (319) [ALGB] (3) Real[3] smeeM.stator.resistor.resistor.i (320) [ALGB] (1) Real smeeM.excitation.port_p.V_m.im (321) [ALGB] (1) Real smeeM.airGap.port_rn.V_m.re (322) [ALGB] (1) flow Real smeeM.excitation.port_n.Phi.im (323) [ALGB] (1) flow Real smeeE.damperCage.heatPort.Q_flow = -(-smeeE.damperCage.heatPort.Q_flow) (324) [ALGB] (3) flow Real[3] terminalBoxM.plug_sp.pin.i (325) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_V_m = {Modelica.ComplexMath.'abs'(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m) for $singlePhaseElectroMagneticConverter1 in 1:3} (326) [ALGB] (1) flow Real smeeM.groundR.port_p.Phi.re (327) [ALGB] (1) flow Real smeeM.fixed.flange.tau (328) [DER-] (1) parameter Real $DER.smeeE.fixed.phi0 (329) [ALGB] (1) redeclare Real smeeM.excitation.V_m.re (330) [ALGB] (1) final Real smeeE.thermalAmbient.Q_flowRotorWinding = smeeE.thermalAmbient.Q_flowRotorWinding (331) [ALGB] (3) Real[3] smeeM.stator.resistor.resistor.v (332) [ALGB] (3) Real[3] terminalBoxM.plug_sp.pin.v (333) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerRotorWinding = smeeM.damperCageLossPower (334) [ALGB] (1) flow Real star.pin_n.i (335) [ALGB] (1) final Real smeeE.thermalAmbient.Q_flowStatorWinding = smeeE.thermalAmbient.Q_flowStatorWinding (336) [ALGB] (1) flow Real smeeM.stator.core.port_p.Phi.im (337) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im (338) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im (339) [DER-] (2) flow Real[2] $DER.smeeE.damperCage.spacePhasor_r.i_ (340) [ALGB] (3) Real[3] smeeM.thermalAmbient.thermalPort.heatPortStatorWinding.T (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (341) [ALGB] (1) Real smeeM.groundR.port_p.V_m.im (342) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_V_m = {Modelica.ComplexMath.arg(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:3} (343) [ALGB] (1) Real rampCurrentE.v (344) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_Phi = {Modelica.ComplexMath.arg(smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:2} (345) [ALGB] (1) Real smeeM.excitation.resistor.v (346) [ALGB] (3) flow Real[3] electricalPowerSensorM.plug_nv.pin.i (347) [ALGB] (1) redeclare Real smeeM.rotorCage.electroMagneticConverter.Phi.re = smeeM.rotorCage.electroMagneticConverter.port_p.Phi.re (348) [ALGB] (3) flow Real[3] smeeM.stator.plug_n.pin.i (349) [ALGB] (3) flow Real[3] smeeM.stator.resistor.resistor.p.i (350) [ALGB] (1) final output Real smeeM.powerBalance.powerExcitation = smeeM.ve * smeeM.ie (351) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_Phi = {Modelica.ComplexMath.'abs'(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi) for $singlePhaseElectroMagneticConverter1 in 1:3} (352) [ALGB] (1) final output Real smeeE.powerBalance.lossPowerStrayLoad = -smeeE.strayLoad.heatPort.Q_flow (353) [ALGB] (1) redeclare Real smeeM.excitation.reluctance.V_m.re (354) [ALGB] (1) redeclare Real smeeM.stator.strayReluctance.Phi.re (355) [ALGB] (3) Real[3] electricalPowerSensorM.plug_nv.pin.v (356) [ALGB] (2) protected Real[2] electricalPowerSensorM.v_ (357) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re (358) [ALGB] (3) Real[3] smeeM.stator.plug_n.pin.v (359) [ALGB] (1) Real smeeM.stator.strayReluctance.port_n.V_m.im (360) [ALGB] (1) flow Real smeeM.rotorCage.port_p.Phi.re (361) [ALGB] (3) flow Real[3] smeeM.thermalAmbient.thermalCollectorStator.port_a.Q_flow (362) [ALGB] (3) Real[3] smeeM.stator.resistor.resistor.p.v (363) [ALGB] (1) flow Real smeeE.inertiaStator.flange_a.tau (364) [ALGB] (1) redeclare Real smeeM.airGap.V_mss.im (365) [ALGB] (3) Real[3] smeeE.thermalAmbient.thermalCollectorStator.port_a.T (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (366) [DER-] (1) Real $DER.mechanicalPowerSensorM.relSpeedSensor.phi_rel (367) [ALGB] (2) Real[2] rotorAngleM.rotatorVS2R.u (368) [ALGB] (1) Real electricalPowerSensorM.P (369) [ALGB] (3) Real[3] electricalPowerSensorE.plug_p.pin.v (370) [ALGB] (1) Real electricalPowerSensorM.Q (371) [ALGB] (3) flow Real[3] smeeM.stator.plug_p.pin.i (372) [ALGB] (1) flow Real smeeE.friction.heatPort.Q_flow = -(-smeeE.friction.heatPort.Q_flow) (373) [ALGB] (2) Real[2] rotorAngleM.rotatorVS2R.y (374) [ALGB] (1) Real rotorAngleM.ToSpacePhasorVS.zero (375) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_Phi = {Modelica.ComplexMath.'abs'(smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi) for $singlePhaseElectroMagneticConverter1 in 1:2} (376) [ALGB] (1) Real rotorAngleE.relativeAngleSensor.phi_rel (377) [ALGB] (1) redeclare Real smeeM.rotorCage.electroMagneticConverter.V_m.im (378) [ALGB] (3) flow Real[3] electricalPowerSensorE.plug_p.pin.i (379) [ALGB] (1) Real smeeM.stator.arg_Phi = Modelica.ComplexMath.arg(smeeM.stator.Phi, 0.0) (380) [ALGB] (1) redeclare Real smeeM.airGap.V_msr.re (381) [ALGB] (3) Real[3] smeeM.stator.plug_p.pin.v (382) [DER-] (1) Real $DER.smeeM.phiMechanical (383) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerStrayLoad = -smeeM.strayLoad.heatPort.Q_flow (384) [ALGB] (1) flow Real groundM.p.i (385) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_Phi = {Modelica.ComplexMath.arg(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:3} (386) [ALGB] (1) redeclare Real smeeM.stator.strayReluctance.V_m.im (387) [ALGB] (2) Real[2] smeeE.airGapR.i_mr (388) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_V_m = {Modelica.ComplexMath.arg(smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:2} (389) [ALGB] (1) Real smeeM.stator.strayReluctance.port_p.V_m.re (390) [ALGB] (1) flow Real smeeM.stator.strayReluctance.port_n.Phi.re (391) [ALGB] (1) flow Real smeeM.rotorCage.strayReluctance.port_n.Phi.re (392) [ALGB] (1) Real smeeM.rotorCage.port_p.V_m.im (393) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.port_p.V_m.re (394) [ALGB] (1) flow Real smeeM.rotorCage.port_n.Phi.im (395) [ALGB] (3) flow Real[3] terminalBoxM.plugSupply.pin.i (396) [ALGB] (1) Real smeeM.stator.zeroInductor.v0 (397) [ALGB] (1) Real thetaM = thetaM (398) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.v = smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v - smeeM.rotorCage.electroMagneticConverter.plug_n.pin.v (399) [ALGB] (3) Real[3] terminalBoxM.plugSupply.pin.v (400) [ALGB] (2) flow Real[2] smeeE.airGapR.spacePhasor_r.i_ (401) [ALGB] (2) flow Real[2] smeeE.electricalExcitation.spacePhasor_r.i_ (402) [ALGB] (1) Real thetaE = thetaE (403) [ALGB] (3) Real[3] rotorAngleE.VoltageSensor1.plug_p.pin.v (404) [ALGB] (1) Real smeeM.stator.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.stator.Phi) (405) [ALGB] (1) Real smeeM.excitation.v = smeeM.brush.n.v - 0.0 (406) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.i = smeeM.rotorCage.electroMagneticConverter.plug_p.pin.i (407) [ALGB] (1) Real smeeM.tauShaft = -(-smeeM.tauShaft) (408) [ALGB] (1) redeclare Real smeeM.rotorCage.V_m.re (409) [ALGB] (1) flow Real smeeM.thermalAmbient.thermalPort.heatPortBrush.Q_flow (410) [ALGB] (2) protected Real[2] electricalPowerSensorE.v_ (411) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_V_m = {Modelica.ComplexMath.'abs'(smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m) for $singlePhaseElectroMagneticConverter1 in 1:2} (412) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.port_n.V_m.im (413) [ALGB] (3) flow Real[3] rotorAngleE.VoltageSensor1.plug_p.pin.i (414) [ALGB] (1) Real smeeM.stator.arg_V_m = Modelica.ComplexMath.arg(smeeM.stator.V_m, 0.0) (415) [ALGB] (1) Real smeeE.lesigma.v (416) [ALGB] (1) Real smeeE.inertiaStator.a (417) [ALGB] (2) Real[2] smeeE.damperCage.spacePhasor_r.v_ (418) [ALGB] (2) Real[2] rotorAngleE.ToPolarVSR.u (419) [ALGB] (3) Real[3] rotorAngleE.VoltageSensor1.plug_n.pin.v (420) [ALGB] (2) Real[2] rotorAngleE.ToPolarVSR.y (421) [ALGB] (1) Real rotorAngleM.lessThreshold.y (422) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.heatPort.Q_flow (423) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.rotorCage.electroMagneticConverter.V_m) (424) [DER-] (2) Real[2] $DER.smeeE.airGapR.psi_mr (425) [ALGB] (2) Real[2] smeeE.lssigma.spacePhasor_b.v_ (426) [ALGB] (2) Real[2] rotorAngleM.lessThreshold.u (427) [DER-] (2) Real[2] $DER.smeeE.airGapR.psi_ms (428) [DER-] (1) Real $DER.constantSpeedM.phi (429) [ALGB] (3) flow Real[3] rotorAngleE.VoltageSensor1.plug_n.pin.i (430) [ALGB] (1) redeclare Real smeeM.stator.Phi.im = smeeM.stator.port_p.Phi.im (431) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerRotorCore = 0.0 (432) [ALGB] (1) Real smeeM.excitation.reluctance.port_p.V_m.re (433) [ALGB] (1) flow Real smeeM.excitation.reluctance.port_n.Phi.re (434) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.port_n.V_m.im (435) [ALGB] (1) flow Real smeeM.airGap.port_sn.Phi.im (436) [ALGB] (1) Real smeeM.airGap.port_sp.V_m.im (437) [ALGB] (3) Real[3] electricalPowerSensorE.plug_nv.pin.v (438) [ALGB] (1) Real smeeM.stator.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.stator.V_m) (439) [ALGB] (3) Real[3] smeeM.plug_sp.pin.v (440) [ALGB] (3) flow Real[3] electricalPowerSensorE.plug_nv.pin.i (441) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.arg_V_m = Modelica.ComplexMath.arg(smeeM.rotorCage.electroMagneticConverter.V_m, 0.0) (442) [ALGB] (3) redeclare Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im (443) [ALGB] (1) Real rampCurrentE.n.v (444) [ALGB] (3) flow Real[3] smeeM.plug_sp.pin.i (445) [ALGB] (3) flow Real[3] star.plug_p.pin.i (446) [ALGB] (1) Real smeeM.stator.core.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.stator.core.V_m) (447) [ALGB] (1) flow Real smeeM.inertiaRotor.flange_b.tau (448) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerStatorWinding = sum(smeeM.stator.resistor.resistor.LossPower) (449) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowRotorWinding = smeeM.thermalAmbient.Q_flowRotorWinding (450) [ALGB] (3) Real[3] smeeM.stator.resistor.resistor.T_heatPort (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (451) [ALGB] (1) redeclare Real smeeM.stator.electroMagneticConverter.V_m.re (452) [ALGB] (3) Real[3] smeeM.plug_sn.pin.v (453) [ALGB] (3) flow Real[3] smeeE.thermalAmbient.thermalPort.heatPortStatorWinding.Q_flow (454) [ALGB] (3) flow Real[3] smeeE.rs.heatPort.Q_flow (455) [DER-] (1) Real $DER.smeeE.ie (456) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.port_n.V_m.im (457) [ALGB] (1) Real smeeM.groundS.port_p.V_m.im (458) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowStatorCore = smeeM.thermalAmbient.Q_flowStatorCore (459) [ALGB] (1) flow Real smeeM.rotorCage.electroMagneticConverter.port_n.Phi.im (460) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.port_p.V_m.im (461) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.rotorCage.electroMagneticConverter.Phi) (462) [ALGB] (1) Real smeeM.excitation.reluctance.port_n.V_m.im (463) [ALGB] (1) flow Real smeeM.stator.electroMagneticConverter.port_n.Phi.re (464) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.port_p.V_m.re (465) [ALGB] (1) flow Real smeeM.airGap.port_sp.Phi.re (466) [ALGB] (3) Real[3] smeeM.stator.resistor.resistor.LossPower (467) [ALGB] (3) Real[3] star.plug_p.pin.v (468) [ALGB] (3) Real[3] smeeM.internalThermalPort.heatPortStatorWinding.T (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (469) [ALGB] (3) flow Real[3] smeeM.plug_sn.pin.i (470) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.R_actual (471) [ALGB] (1) Real smeeM.irRMS (472) [ALGB] (1) Real smeeE.friction.w (473) [ALGB] (1) final output Real smeeE.powerBalance.lossPowerExcitation = -smeeE.re.heatPort.Q_flow (474) [ALGB] (1) Real smeeM.stator.port_n.V_m.re (475) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re (476) [ALGB] (1) Real smeeM.excitation.resistor.LossPower (477) [ALGB] (3) flow Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re (478) [DER-] (1) redeclare Real $DER.smeeM.excitation.electroMagneticConverter.Phi.im (479) [ALGB] (1) final output Real smeeE.powerBalance.powerMechanical = smeeE.wMechanical * smeeE.tauShaft (480) [ALGB] (1) Real smeeM.inertiaStator.a (481) [ALGB] (1) Real smeeM.stator.core.arg_V_m = Modelica.ComplexMath.arg(smeeM.stator.core.V_m, 0.0) (482) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.port_p.V_m.re (483) [ALGB] (2) flow Real[2] smeeE.statorCore.spacePhasor.i_ (484) [ALGB] (1) flow Real smeeM.excitation.electroMagneticConverter.port_n.Phi.re (485) [ALGB] (1) Real smeeE.inertiaRotor.a (486) [ALGB] (1) flow Real smeeM.rotorCage.electroMagneticConverter.port_p.Phi.re (487) [ALGB] (1) flow Real smeeM.groundS.port_p.Phi.re (488) [ALGB] (3) Real[3] sineVoltage.sineVoltage.p.v (489) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.arg_Phi = Modelica.ComplexMath.arg(smeeM.rotorCage.electroMagneticConverter.Phi, 0.0) (490) [ALGB] (2) Real[2] rotorAngleM.ToSpacePhasorVS.y (491) [ALGB] (1) redeclare Real smeeM.airGap.Phi_sr.im (492) [ALGB] (3) Real[3] rotorAngleM.ToSpacePhasorVS.u (493) [ALGB] (1) Real smeeM.wMechanical = der(smeeM.phiMechanical) (start = 0.0) (494) [ALGB] (1) redeclare Real smeeM.rotorCage.strayReluctance.Phi.im (495) [ALGB] (1) Real smeeM.stator.core.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.stator.core.Phi) (496) [ALGB] (3) flow Real[3] sineVoltage.sineVoltage.p.i (497) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.v (498) [ALGB] (3) flow Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.i (499) [ALGB] (3) protected Real[3] smeeE.internalThermalPort.heatPortStatorWinding.T (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (500) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.heatPort.T (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2}) (501) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im (502) [ALGB] (3) Real[3] smeeE.spacePhasorS.i (503) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.i (504) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.i (505) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v (506) [ALGB] (2) Real[2] smeeM.rotorCage.star.plug_p.pin.v (507) [ALGB] (3) Real[3] smeeE.spacePhasorS.v (508) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.v (509) [ALGB] (2) Real[2] smeeE.lssigma.v_ (510) [DER-] (1) Real $DER.mechanicalPowerSensorE.relSpeedSensor.phi_rel (511) [ALGB] (2) flow Real[2] smeeM.rotorCage.star.plug_p.pin.i (512) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.plug_p.pin.v (513) [ALGB] (1) Real smeeM.stator.core.arg_Phi = Modelica.ComplexMath.arg(smeeM.stator.core.Phi, 0.0) (514) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.i (515) [ALGB] (1) Real smeeM.airGap.port_rn.V_m.im (516) [ALGB] (1) flow Real smeeM.excitation.port_n.Phi.re (517) [ALGB] (1) Real smeeM.excitation.port_p.V_m.re (518) [ALGB] (3) Real[3] smeeM.stator.resistor.i (519) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.plug_n.pin.i (520) [ALGB] (3) flow Real[3] smeeM.stator.electroMagneticConverter.plug_p.pin.i (521) [ALGB] (1) redeclare Real smeeM.airGap.V_mrr.im (522) [ALGB] (1) redeclare Real smeeM.excitation.electroMagneticConverter.V_m.re (523) [ALGB] (1) Real smeeM.airGap.rotator.re (524) [ALGB] (1) redeclare Real smeeM.excitation.V_m.im (525) [ALGB] (1) Real smeeE.lszero.v (526) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.v (527) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.plug_n.pin.v (528) [ALGB] (3) Real[3] smeeM.stator.resistor.v (529) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.plug_n.pin.v (530) [ALGB] (2) Real[2] smeeE.idq_dr (StateSelect = prefer) (531) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.plug_p.pin.i (532) [ALGB] (3) flow Real[3] smeeM.stator.electroMagneticConverter.plug_n.pin.i (533) [ALGB] (3) Real[3] electricalPowerSensorE.plug_ni.pin.v (534) [ALGB] (3) Real[3] smeeM.vs = smeeM.plug_sp.pin.v - smeeM.plug_sn.pin.v (535) [ALGB] (3) Real[3] sineVoltage.sineVoltage.n.v (536) [ALGB] (1) flow Real smeeM.stator.core.port_p.Phi.re (537) [ALGB] (1) Real smeeM.airGap.port_rp.V_m.re (538) [ALGB] (1) flow Real smeeM.airGap.port_rn.Phi.re (539) [ALGB] (1) Real smeeM.excitation.port_n.V_m.im (540) [ALGB] (4) protected Real[2, 2] rotorAngleM.rotatorVS2R.RotationMatrix = {{cos(-rotorAngleM.add.y), -sin(-rotorAngleM.add.y)}, {sin(-rotorAngleM.add.y), cos(-rotorAngleM.add.y)}} (541) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.plug_p.pin.v (542) [ALGB] (1) Real smeeM.groundR.port_p.V_m.re (543) [ALGB] (3) flow Real[3] electricalPowerSensorE.plug_ni.pin.i (544) [ALGB] (3) flow Real[3] sineVoltage.sineVoltage.n.i (545) [ALGB] (1) Real smeeM.ve = rampCurrentM.n.v - 0.0 (546) [ALGB] (3) flow Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.i (547) [ALGB] (1) flow Real smeeM.stator.port_p.Phi.im (548) [ALGB] (3) Real[3] smeeM.stator.i = smeeM.stator.plug_p.pin.i (549) [ALGB] (1) redeclare Real smeeM.excitation.Phi.re = smeeM.excitation.port_p.Phi.re (550) [ALGB] (1) Real rotorAngleM.relativeAngleSensor.phi_rel (551) [ALGB] (2) Real[2] $FUN_9 (552) [ALGB] (1) Real $FUN_8 (553) [ALGB] (2) Real[2] $FUN_7 (554) [ALGB] (1) Real $FUN_6 (555) [ALGB] (2) Real[2] $FUN_5 (556) [ALGB] (1) Real $FUN_4 (557) [DISC] (3) Boolean[3] $SEV_10[$i1] (558) [ALGB] (1) Real smeeE.strayLoad.w (559) [ALGB] (2) Real[2] $FUN_3 (560) [DISC] (1) Boolean $SEV_3 (561) [ALGB] (3) Real[3] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v (562) [ALGB] (3) Real[3] smeeE.strayLoad.v (563) [ALGB] (3) Real[3] $FUN_2 (564) [DISC] (1) Boolean $SEV_2 (565) [ALGB] (1) redeclare Real smeeM.excitation.reluctance.V_m.im (566) [ALGB] (3) flow Real[3] rotorAngleE.VoltageSensor1.voltageSensor.n.i (567) [DISC] (1) Boolean $SEV_1 (568) [ALGB] (3) Real[3] smeeM.stator.v = smeeM.stator.plug_p.pin.v - smeeM.stator.plug_n.pin.v (569) [DISC] (1) Boolean $SEV_0 (570) [DER-] (1) Real $DER.constantSpeedM.flange.phi (571) [ALGB] (1) Real smeeM.stator.core.port_p.V_m.im (572) [ALGB] (1) flow Real smeeM.stator.core.port_n.Phi.im (573) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im (574) [ALGB] (1) redeclare Real smeeM.airGap.V_mss.re (575) [ALGB] (3) Real[3] smeeE.strayLoad.i (576) [ALGB] (1) Real smeeM.airGap.gamma (577) [ALGB] (3) Real[3] rotorAngleE.VoltageSensor1.voltageSensor.n.v (578) [ALGB] (1) Real rampCurrentM.v (579) [DER-] (1) Real $DER.smeeE.inertiaRotor.w (580) [DER-] (1) Real $DER.constantSpeedE.phi (581) [ALGB] (3) flow Real[3] smeeM.thermalAmbient.thermalPort.heatPortStatorWinding.Q_flow (582) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.heatPort.T = {smeeM.rotorCage.resistor.resistor[$resistor1].T_heatPort for $resistor1 in 1:2} (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2}) (583) [ALGB] (1) redeclare Real smeeM.rotorCage.electroMagneticConverter.V_m.re (584) [ALGB] (1) Real smeeE.spacePhasorS.zero.v (585) [ALGB] (1) flow Real smeeM.strayLoad.heatPort.Q_flow = -(-smeeM.strayLoad.heatPort.Q_flow) (586) [ALGB] (1) redeclare Real smeeM.excitation.reluctance.Phi.re (587) [ALGB] (1) Real smeeM.tauElectrical = smeeM.tauElectrical (588) [ALGB] (1) redeclare Real smeeM.stator.strayReluctance.V_m.re (589) [ALGB] (3) Real[3] sineVoltage.sineVoltage.signalSource.y (590) [ALGB] (3) Real[3] smeeE.vs = smeeE.plug_sp.pin.v - smeeE.plug_sn.pin.v (591) [DER-] (1) parameter Real $DER.smeeM.fixed.phi0 (592) [ALGB] (1) flow Real smeeM.stator.strayReluctance.port_n.Phi.im (593) [ALGB] (1) Real smeeM.stator.strayReluctance.port_p.V_m.im (594) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.stator.electroMagneticConverter.V_m) (595) [ALGB] (1) flow Real smeeM.rotorCage.port_n.Phi.re (596) [ALGB] (1) Real smeeM.rotorCage.port_p.V_m.re (597) [ALGB] (3) Real[3] smeeE.rs.resistor.T_heatPort (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (598) [ALGB] (3) Real[3] smeeE.strayLoad.plug_p.pin.v (599) [DER-] (1) Real $DER.smeeE.strayLoad.phi (600) [ALGB] (1) redeclare Real smeeM.stator.core.V_m.im (601) [ALGB] (1) Real smeeE.ve = rampCurrentE.n.v - 0.0 (602) [ALGB] (1) Real smeeM.inertiaRotor.a (603) [ALGB] (1) Real smeeE.tauShaft = -(-smeeE.tauShaft) (604) [ALGB] (3) flow Real[3] smeeE.strayLoad.plug_p.pin.i (605) [ALGB] (3) flow Real[3] smeeE.rs.resistor.n.i (606) [ALGB] (1) final Real smeeE.thermalAmbient.Q_flowFriction = smeeE.thermalAmbient.Q_flowFriction (607) [ALGB] (1) final Real smeeE.thermalAmbient.Q_flowExcitation = smeeE.thermalAmbient.Q_flowExcitation (608) [ALGB] (1) Real smeeE.re.n.v (609) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowFriction = smeeM.thermalAmbient.Q_flowFriction (610) [ALGB] (3) flow Real[3] terminalBoxE.star.plug_p.pin.i (611) [ALGB] (3) Real[3] smeeE.strayLoad.plug_n.pin.v (612) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerExcitation = smeeM.excitation.resistor.LossPower (613) [ALGB] (1) redeclare Real smeeM.rotorCage.V_m.im (614) [ALGB] (1) Real smeeM.excitation.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.excitation.V_m) (615) [ALGB] (3) Real[3] rotorAngleE.ToSpacePhasorVS.u (616) [ALGB] (3) Real[3] smeeE.rs.resistor.n.v (617) [ALGB] (1) final output Real smeeE.powerBalance.powerStator = Modelica.Electrical.Machines.SpacePhasors.Functions.activePower(smeeE.vs, smeeE.is) (618) [ALGB] (1) flow Real smeeM.stator.strayReluctance.port_p.Phi.re (619) [ALGB] (2) Real[2] smeeE.lssigma.spacePhasor_a.v_ (620) [ALGB] (2) Real[2] rotorAngleE.ToSpacePhasorVS.y (621) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.port_n.V_m.re (622) [ALGB] (1) Real smeeM.rotorCage.port_n.V_m.im (623) [ALGB] (2) Real[2] smeeE.damperCage.i = -smeeE.damperCage.spacePhasor_r.i_ (624) [ALGB] (3) flow Real[3] rotorAngleE.VoltageSensor1.voltageSensor.p.i (625) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.arg_V_m = Modelica.ComplexMath.arg(smeeM.stator.electroMagneticConverter.V_m, 0.0) (626) [ALGB] (3) Real[3] terminalBoxE.star.plug_p.pin.v (627) [ALGB] (3) flow Real[3] smeeE.strayLoad.plug_n.pin.i (628) [ALGB] (1) Real rotorAngleE.ToSpacePhasorVS.zero (629) [ALGB] (1) flow Real mechanicalPowerSensorE.flange_a.tau (630) [ALGB] (1) Real smeeE.re.v (631) [ALGB] (1) flow Real smeeE.strayLoad.heatPort.Q_flow = -(-smeeE.strayLoad.heatPort.Q_flow) (632) [ALGB] (3) Real[3] rotorAngleE.VoltageSensor1.voltageSensor.p.v (633) [ALGB] (1) flow Real smeeE.statorCore.heatPort.Q_flow = -(-smeeE.statorCore.heatPort.Q_flow) (634) [DER-] (1) Real $DER.smeeM.inertiaStator.w (635) [ALGB] (1) final output Real smeeM.powerBalance.powerInertiaStator = smeeM.inertiaStator.a * smeeM.inertiaStator.J * smeeM.inertiaStator.w (636) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.stator.electroMagneticConverter.Phi) (637) [DER-] (1) redeclare Real $DER.smeeM.stator.core.Phi.im (638) [ALGB] (1) final output Real smeeE.powerBalance.lossPowerTotal = smeeE.powerBalance.lossPowerExcitation + smeeE.powerBalance.lossPowerFriction + smeeE.powerBalance.lossPowerRotorCore + smeeE.powerBalance.lossPowerStatorWinding + smeeE.powerBalance.lossPowerStatorCore + smeeE.powerBalance.lossPowerStrayLoad + smeeE.powerBalance.lossPowerRotorWinding + smeeE.powerBalance.lossPowerBrush (639) [ALGB] (1) redeclare Real smeeM.stator.Phi.re = smeeM.stator.port_p.Phi.re (640) [ALGB] (2) Real[2] rotorAngleE.rotatorVS2R.y (641) [ALGB] (1) Real mechanicalPowerSensorE.relSpeedSensor.w_rel (642) [ALGB] (1) redeclare Real smeeM.rotorCage.Phi.re = smeeM.rotorCage.port_p.Phi.re (643) [ALGB] (1) final output Real smeeM.powerBalance.powerStator = Modelica.Electrical.MultiPhase.Functions.activePower(smeeM.vs, smeeM.is) (644) [ALGB] (1) Real smeeM.excitation.arg_V_m = Modelica.ComplexMath.arg(smeeM.excitation.V_m, 0.0) (645) [ALGB] (2) Real[2] rotorAngleE.rotatorVS2R.u (646) [DER-] (1) Real $DER.smeeE.friction.phi (647) [ALGB] (2) Real[2] smeeE.airGapR.spacePhasor_s.v_ (648) [ALGB] (1) Real smeeE.damperCage.Rrd_actual (649) [ALGB] (3) flow Real[3] smeeM.stator.resistor.plug_n.pin.i (650) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re (651) [ALGB] (1) Real smeeM.excitation.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.excitation.Phi) (652) [ALGB] (3) flow Real[3] rotorAngleM.VoltageSensor1.voltageSensor.n.i (653) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.LossPower (654) [DER-] (1) Real $DER.smeeE.i_0_s (655) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.arg_Phi = Modelica.ComplexMath.arg(smeeM.stator.electroMagneticConverter.Phi, 0.0) (656) [ALGB] (3) Real[3] smeeM.stator.resistor.plug_n.pin.v (657) [ALGB] (2) Real[2] smeeM.rotorCage.thermalCollector.port_a.T (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2}) (658) [ALGB] (1) redeclare Real smeeM.stator.V_m.im (659) [ALGB] (3) flow Real[3] smeeE.rs.resistor.p.i (660) [ALGB] (3) flow Real[3] smeeM.stator.resistor.plug_p.pin.i (661) [ALGB] (3) Real[3] rotorAngleM.VoltageSensor1.voltageSensor.n.v (662) [ALGB] (2) protected Real[2] electricalPowerSensorM.i_ (663) [ALGB] (1) Real smeeM.excitation.reluctance.port_n.V_m.re (664) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.port_p.V_m.im (665) [ALGB] (1) flow Real smeeM.stator.electroMagneticConverter.port_n.Phi.im (666) [ALGB] (1) flow Real smeeM.airGap.port_sp.Phi.im (667) [ALGB] (3) flow Real[3] smeeE.rs.resistor.heatPort.Q_flow = {-smeeE.rs.resistor[$resistor1].LossPower for $resistor1 in 1:3} (668) [ALGB] (3) Real[3] smeeE.rs.resistor.p.v (669) [ALGB] (3) Real[3] smeeM.stator.resistor.plug_p.pin.v (670) [ALGB] (1) Real smeeM.excitation.arg_Phi = Modelica.ComplexMath.arg(smeeM.excitation.Phi, 0.0) (671) [ALGB] (2) Real[2] rotorAngleE.lessThreshold.u (672) [ALGB] (3) flow Real[3] terminalBoxE.plug_sn.pin.i (673) [DER-] (1) redeclare Real $DER.smeeM.excitation.electroMagneticConverter.Phi.re (674) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.arg_Phi = Modelica.ComplexMath.arg(smeeM.excitation.electroMagneticConverter.Phi, 0.0) (675) [ALGB] (3) Real[3] smeeE.thermalAmbient.thermalPort.heatPortStatorWinding.T (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (676) [ALGB] (1) redeclare Real smeeM.airGap.Phi_ss.im (677) [ALGB] (4) protected Real[2, 2] rotorAngleE.rotatorVS2R.RotationMatrix = {{cos(-rotorAngleE.add.y), -sin(-rotorAngleE.add.y)}, {sin(-rotorAngleE.add.y), cos(-rotorAngleE.add.y)}} (678) [ALGB] (1) Real rotorAngleE.lessThreshold.y (679) [DER-] (2) redeclare Real[2] $DER.smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im (680) [ALGB] (3) Real[3] smeeE.rs.resistor.LossPower (681) [ALGB] (3) Real[3] terminalBoxE.plug_sn.pin.v (682) [ALGB] (1) flow Real smeeM.excitation.electroMagneticConverter.port_n.Phi.im (683) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.port_p.V_m.im (684) [ALGB] (1) flow Real smeeM.groundS.port_p.Phi.im (685) [ALGB] (1) flow Real smeeM.rotorCage.electroMagneticConverter.port_p.Phi.im (686) [ALGB] (1) final output Real smeeE.powerBalance.lossPowerBrush = -smeeE.brush.heatPort.Q_flow (687) [ALGB] (1) flow Real smeeM.stator.electroMagneticConverter.port_p.Phi.re System Equations (744/1198) ***************************** (1) [SCAL] (1) smeeM.stator.strayReluctance.V_m.re = smeeM.stator.strayReluctance.port_p.V_m.re - smeeM.stator.strayReluctance.port_n.V_m.re ($RES_SIM_1203) (2) [SCAL] (1) smeeM.stator.core.port_p.Phi.im + smeeM.stator.core.port_n.Phi.im = 0.0 ($RES_SIM_1202) (3) [SCAL] (1) smeeM.stator.core.port_p.Phi.re + smeeM.stator.core.port_n.Phi.re = 0.0 ($RES_SIM_1201) (4) [SCAL] (1) smeeM.stator.core.V_m.im = smeeM.stator.core.port_p.V_m.im - smeeM.stator.core.port_n.V_m.im ($RES_SIM_1200) (5) [SCAL] (1) rotorAngleM.ToPolarVSR.y[2] = if noEvent($SEV_3) then 0.0 else $FUN_24 ($RES_SIM_51) (6) [SCAL] (1) rotorAngleM.ToPolarVSR.y[1] = $FUN_23 ($RES_SIM_52) (7) [ARRY] (2) rotorAngleM.rotatorVS2R.y = rotorAngleM.rotatorVS2R.RotationMatrix * rotorAngleM.rotatorVS2R.u ($RES_SIM_53) (8) [SCAL] (1) rotorAngleM.add.y = rotorAngleM.add.k1 * rotorAngleM.relativeAngleSensor.phi_rel + rotorAngleM.add.k2 * rotorAngleM.constant_.k ($RES_SIM_54) (9) [SCAL] (1) rotorAngleM.relativeAngleSensor.phi_rel = constantSpeedM.flange.phi - rotorAngleM.fixed.phi0 ($RES_SIM_58) (10) [ARRY] (2) rotorAngleM.ToSpacePhasorVS.y = rotorAngleM.ToSpacePhasorVS.TransformationMatrix * rotorAngleM.ToSpacePhasorVS.u ($RES_SIM_59) (11) [FOR-] (3) ($RES_SIM_61) (11) [----] for $i1 in 1:3 loop (11) [----] [SCAL] (1) rotorAngleM.VoltageSensor1.voltageSensor[$i1].v = rotorAngleM.VoltageSensor1.voltageSensor[$i1].p.v - rotorAngleM.VoltageSensor1.voltageSensor[$i1].n.v ($RES_SIM_62) (11) [----] end for; (12) [FOR-] (3) ($RES_SIM_63) (12) [----] for $i1 in 1:3 loop (12) [----] [SCAL] (1) rotorAngleM.VoltageSensor1.voltageSensor[$i1].n.i = 0.0 ($RES_SIM_64) (12) [----] end for; (13) [FOR-] (3) ($RES_SIM_65) (13) [----] for $i1 in 1:3 loop (13) [----] [SCAL] (1) rotorAngleM.VoltageSensor1.voltageSensor[$i1].p.i = 0.0 ($RES_SIM_66) (13) [----] end for; (14) [SCAL] (1) rampCurrentE.v = -rampCurrentE.n.v ($RES_SIM_69) (15) [SCAL] (1) smeeE.ie = rampCurrentE.signalSource.offset + (if $TEV_0 then 0.0 else if $TEV_1 then (rampCurrentE.signalSource.height * (time - rampCurrentE.signalSource.startTime)) / rampCurrentE.signalSource.duration else rampCurrentE.signalSource.height) ($RES_SIM_71) (16) [SCAL] (1) rampCurrentM.v = -rampCurrentM.n.v ($RES_SIM_74) (17) [SCAL] (1) smeeM.ie = rampCurrentM.signalSource.offset + (if $TEV_2 then 0.0 else if $TEV_3 then (rampCurrentM.signalSource.height * (time - rampCurrentM.signalSource.startTime)) / rampCurrentM.signalSource.duration else rampCurrentM.signalSource.height) ($RES_SIM_76) (18) [SCAL] (1) 0.0 = rampCurrentE.n.v - smeeE.brush.n.v ($RES_SIM_81) (19) [SCAL] (1) -smeeE.brush.heatPort.Q_flow = 0.0 ($RES_SIM_82) (20) [FOR-] (3) ($RES_EVT_1284) (20) [----] for $i1 in 1:3 loop (20) [----] [SCAL] (1) $SEV_10[$i1] = time < sineVoltage.sineVoltage[$i1].signalSource.startTime ($RES_EVT_1285) (20) [----] end for; (21) [SCAL] (1) smeeE.lesigma.v = smeeE.re.n.v - smeeE.lesigma.n.v ($RES_SIM_86) (22) [SCAL] (1) smeeE.lesigma.L * $DER.smeeE.ie = smeeE.lesigma.v ($RES_SIM_87) (23) [FOR-] (3) ($RES_EVT_1282) (23) [----] for $i1 in 1:3 loop (23) [----] [SCAL] (1) $SEV_9[$i1] = 1.0 + smeeM.stator.resistor.resistor[$i1].alpha * (smeeM.stator.resistor.resistor[$i1].T_heatPort - smeeM.stator.resistor.resistor[$i1].T_ref) >= 1e-15 ($RES_EVT_1283) (23) [----] end for; (24) [FOR-] (2) ($RES_EVT_1280) (24) [----] for $i1 in 1:2 loop (24) [----] [SCAL] (1) $SEV_8[$i1] = 1.0 + smeeM.rotorCage.resistor.resistor[$i1].alpha * (smeeM.rotorCage.resistor.resistor[$i1].T_heatPort - smeeM.rotorCage.resistor.resistor[$i1].T_ref) >= 1e-15 ($RES_EVT_1281) (24) [----] end for; (25) [SCAL] (1) smeeE.re.v = smeeE.brush.n.v - smeeE.re.n.v ($RES_SIM_90) (26) [SCAL] (1) -smeeE.re.heatPort.Q_flow = smeeE.re.v * smeeE.ie ($RES_SIM_91) (27) [SCAL] (1) smeeE.re.v = smeeE.re.R_actual * smeeE.ie ($RES_SIM_92) (28) [FOR-] (3) ($RES_EVT_1277) (28) [----] for $i1 in 1:3 loop (28) [----] [SCAL] (1) $SEV_6[$i1] = 1.0 + smeeE.rs.resistor[$i1].alpha * (smeeE.rs.resistor[$i1].T_heatPort - smeeE.rs.resistor[$i1].T_ref) >= 1e-15 ($RES_EVT_1278) (28) [----] end for; (29) [SCAL] (1) smeeE.re.R_actual = smeeE.re.R * (1.0 + smeeE.re.alpha * (smeeE.thermalAmbient.constTe.k - smeeE.re.T_ref)) ($RES_SIM_93) (30) [SCAL] (1) smeeE.electricalExcitation.ve = 1.5 * smeeE.electricalExcitation.turnsRatio * smeeE.electricalExcitation.spacePhasor_r.v_[1] ($RES_SIM_95) (31) [SCAL] (1) $SEV_3 = rotorAngleM.ToPolarVSR.y[1] <= 1e-60 ($RES_EVT_1274) (32) [ARRY] (2) smeeE.electricalExcitation.spacePhasor_r.i_ = {-smeeE.ie * smeeE.electricalExcitation.turnsRatio, 0.0} ($RES_SIM_96) (33) [SCAL] (1) $SEV_2 = rotorAngleM.lessThreshold.u[1] < rotorAngleM.lessThreshold.threshold ($RES_EVT_1273) (34) [SCAL] (1) smeeE.electricalExcitation.ve = smeeE.lesigma.n.v ($RES_SIM_97) (35) [SCAL] (1) $SEV_1 = rotorAngleE.ToPolarVSR.y[1] <= 1e-60 ($RES_EVT_1272) (36) [SCAL] (1) $SEV_0 = rotorAngleE.lessThreshold.u[1] < rotorAngleE.lessThreshold.threshold ($RES_EVT_1271) (37) [SCAL] (1) $TEV_3 = time < (rampCurrentM.signalSource.startTime + rampCurrentM.signalSource.duration) ($RES_EVT_1270) (38) [SCAL] (1) -0.6666666666666666 * smeeE.damperCage.heatPort.Q_flow = smeeE.damperCage.spacePhasor_r.i_[1] * smeeE.damperCage.Rrd_actual * smeeE.damperCage.spacePhasor_r.i_[1] + smeeE.damperCage.spacePhasor_r.i_[2] * smeeE.damperCage.Rrq_actual * smeeE.damperCage.spacePhasor_r.i_[2] ($RES_SIM_100) (39) [SCAL] (1) smeeE.damperCage.spacePhasor_r.v_[2] = smeeE.damperCage.Rrq_actual * smeeE.damperCage.spacePhasor_r.i_[2] + smeeE.damperCage.Lrsigmaq * $DER.smeeE.damperCage.spacePhasor_r.i_[2] ($RES_SIM_101) (40) [SCAL] (1) smeeE.damperCage.spacePhasor_r.v_[1] = smeeE.damperCage.Rrd_actual * smeeE.damperCage.spacePhasor_r.i_[1] + smeeE.damperCage.Lrsigmad * $DER.smeeE.damperCage.spacePhasor_r.i_[1] ($RES_SIM_102) (41) [SCAL] (1) smeeE.damperCage.Rrq_actual = smeeE.damperCage.Rrq * (1.0 + smeeE.damperCage.alpha * (smeeE.thermalAmbient.constTr.k - smeeE.damperCage.T_ref)) ($RES_SIM_103) (42) [SCAL] (1) smeeE.damperCage.Rrd_actual = smeeE.damperCage.Rrd * (1.0 + smeeE.damperCage.alpha * (smeeE.thermalAmbient.constTr.k - smeeE.damperCage.T_ref)) ($RES_SIM_104) (43) [SCAL] (1) smeeE.tauElectrical = 1.5 * smeeE.airGapR.p * (smeeE.airGapR.spacePhasor_s.i_[2] * smeeE.airGapR.psi_ms[1] - smeeE.airGapR.spacePhasor_s.i_[1] * smeeE.airGapR.psi_ms[2]) ($RES_SIM_108) (44) [ARRY] (2) smeeE.airGapR.spacePhasor_r.v_ = $DER.smeeE.airGapR.psi_mr ($RES_SIM_109) (45) [SCAL] (1) $TEV_2 = time < rampCurrentM.signalSource.startTime ($RES_EVT_1269) (46) [SCAL] (1) $TEV_1 = time < (rampCurrentE.signalSource.startTime + rampCurrentE.signalSource.duration) ($RES_EVT_1268) (47) [SCAL] (1) $TEV_0 = time < rampCurrentE.signalSource.startTime ($RES_EVT_1267) (48) [ARRY] (2) smeeE.airGapR.spacePhasor_s.v_ = $DER.smeeE.airGapR.psi_ms ($RES_SIM_110) (49) [ARRY] (2) smeeE.airGapR.i_rs = smeeE.airGapR.RotationMatrix * smeeE.airGapR.i_rr ($RES_SIM_111) (50) [ARRY] (2) smeeE.airGapR.i_rr = smeeE.airGapR.spacePhasor_r.i_ ($RES_SIM_112) (51) [ARRY] (2) smeeE.airGapR.i_ss = smeeE.airGapR.RotationMatrix * smeeE.airGapR.i_sr ($RES_SIM_113) (52) [ARRY] (2) smeeE.airGapR.i_ss = smeeE.airGapR.spacePhasor_s.i_ ($RES_SIM_114) (53) [ARRY] (4) smeeE.airGapR.RotationMatrix = {{$FUN_20, -$FUN_21}, {$FUN_21, $FUN_20}} ($RES_SIM_115) (54) [SCAL] (1) smeeE.airGapR.gamma = smeeE.airGapR.p * (constantSpeedE.flange.phi - smeeE.fixed.phi0) ($RES_SIM_116) (55) [ARRY] (2) smeeE.airGapR.psi_ms = smeeE.airGapR.RotationMatrix * smeeE.airGapR.psi_mr ($RES_SIM_117) (56) [ARRY] (2) smeeE.airGapR.psi_mr = smeeE.airGapR.L * smeeE.airGapR.i_mr ($RES_SIM_118) (57) [RECD] (2) smeeM.excitation.reluctance.port_p.Phi = smeeM.excitation.reluctance.Phi ($RES_SIM_202) (58) [ARRY] (2) smeeE.airGapR.i_mr = smeeE.airGapR.i_sr + smeeE.airGapR.i_rr ($RES_SIM_119) (59) [SCAL] (1) 1.5707963267948966 * smeeM.excitation.reluctance.V_m.im = smeeM.excitation.reluctance.R_m.q * smeeM.excitation.reluctance.Phi.im ($RES_SIM_204) (60) [SCAL] (1) 1.5707963267948966 * smeeM.excitation.reluctance.V_m.re = smeeM.excitation.reluctance.R_m.d * smeeM.excitation.reluctance.Phi.re ($RES_SIM_205) (61) [SCAL] (1) -smeeM.excitation.electroMagneticConverter.v = $DER.smeeM.excitation.electroMagneticConverter.Phi.re * smeeM.excitation.electroMagneticConverter.N.re + $DER.smeeM.excitation.electroMagneticConverter.Phi.im * smeeM.excitation.electroMagneticConverter.N.im ($RES_SIM_206) (62) [ARRY] (3) smeeE.thermalAmbient.thermalCollectorStator.port_a.T = {smeeE.thermalAmbient.constTs.k for $i1 in 1:3} ($RES_SIM_125) (63) [SCAL] (1) smeeM.excitation.electroMagneticConverter.v = smeeM.excitation.resistor.n.v ($RES_SIM_210) (64) [RECD] (2) smeeM.excitation.electroMagneticConverter.port_p.Phi = smeeM.excitation.electroMagneticConverter.Phi ($RES_SIM_213) (65) [SCAL] (1) smeeM.excitation.resistor.v = smeeM.brush.n.v - smeeM.excitation.resistor.n.v ($RES_SIM_216) (66) [SCAL] (1) smeeM.excitation.resistor.LossPower = smeeM.excitation.resistor.v * smeeM.ie ($RES_SIM_217) (67) [SCAL] (1) smeeM.excitation.resistor.v = smeeM.excitation.resistor.R_actual * smeeM.ie ($RES_SIM_218) (68) [SCAL] (1) smeeM.excitation.resistor.R_actual = smeeM.excitation.resistor.R * (1.0 + smeeM.excitation.resistor.alpha * (smeeM.thermalAmbient.constTe.k - smeeM.excitation.resistor.T_ref)) ($RES_SIM_219) (69) [ARRY] (3) smeeM.thermalAmbient.thermalCollectorStator.port_a.T = {smeeM.thermalAmbient.constTs.k for $i1 in 1:3} ($RES_SIM_303) (70) [ARRY] (3) smeeE.strayLoad.i = smeeE.strayLoad.plug_p.pin.i ($RES_SIM_133) (71) [ARRY] (3) smeeE.strayLoad.v = smeeE.strayLoad.plug_p.pin.v - smeeE.strayLoad.plug_n.pin.v ($RES_SIM_134) (72) [ARRY] (3) smeeE.strayLoad.plug_p.pin.i + smeeE.strayLoad.plug_n.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_135) (73) [SCAL] (1) smeeE.strayLoad.w = $DER.smeeE.strayLoad.phi ($RES_SIM_138) (74) [RECD] (2) smeeM.rotorCage.strayReluctance.port_p.Phi = smeeM.rotorCage.strayReluctance.Phi ($RES_SIM_222) (75) [SCAL] (1) smeeE.strayLoad.phi = constantSpeedE.flange.phi - smeeE.fixed.phi0 ($RES_SIM_139) (76) [SCAL] (1) 1.5707963267948966 * smeeM.rotorCage.strayReluctance.V_m.im = smeeM.rotorCage.strayReluctance.R_m.q * smeeM.rotorCage.strayReluctance.Phi.im ($RES_SIM_224) (77) [SCAL] (1) 1.5707963267948966 * smeeM.rotorCage.strayReluctance.V_m.re = smeeM.rotorCage.strayReluctance.R_m.d * smeeM.rotorCage.strayReluctance.Phi.re ($RES_SIM_225) (78) [ARRY] (2) smeeM.rotorCage.thermalCollector.port_a.T = {smeeM.thermalAmbient.constTr.k for $i1 in 1:2} ($RES_SIM_226) (79) [RECD] (2) smeeM.stator.strayReluctance.port_p.Phi = smeeM.stator.strayReluctance.Phi ($RES_SIM_312) (80) [SCAL] (1) 1.5707963267948966 * smeeM.stator.strayReluctance.V_m.im = smeeM.stator.strayReluctance.R_m.q * smeeM.stator.strayReluctance.Phi.im ($RES_SIM_314) (81) [SCAL] (1) 1.5707963267948966 * smeeM.stator.strayReluctance.V_m.re = smeeM.stator.strayReluctance.R_m.d * smeeM.stator.strayReluctance.Phi.re ($RES_SIM_315) (82) [RECD] (2) smeeM.stator.core.port_p.Phi = smeeM.stator.core.Phi ($RES_SIM_317) (83) [FOR-] (3) ($RES_SIM_401) (83) [----] for $i1 in 1:3 loop (83) [----] [SCAL] (1) sineVoltage.sineVoltage[$i1].signalSource.y = sineVoltage.sineVoltage[$i1].signalSource.offset + (if $SEV_10[$i1] then 0.0 else sineVoltage.sineVoltage[$i1].signalSource.amplitude * $FUN_2[$i1]) ($RES_SIM_402) (83) [----] end for; (84) [SCAL] (1) smeeM.stator.core.V_m.im = 0.0 ($RES_SIM_319) (85) [FOR-] (3) ($RES_SIM_405) (85) [----] for $i1 in 1:3 loop (85) [----] [SCAL] (1) star.plug_p.pin[$i1].v = 0.0 ($RES_SIM_406) (85) [----] end for; (86) [SCAL] (1) mechanicalPowerSensorE.torqueSensor.flange_a.tau - mechanicalPowerSensorE.flange_a.tau = 0.0 ($RES_SIM_409) (87) [SCAL] (1) -smeeE.strayLoad.heatPort.Q_flow = 0.0 ($RES_SIM_140) (88) [ARRY] (3) smeeE.strayLoad.v = {0.0 for $i1 in 1:3} ($RES_SIM_142) (89) [ARRY] (2) -smeeE.spacePhasorS.spacePhasor.i_ = smeeE.spacePhasorS.TransformationMatrix * smeeE.spacePhasorS.i ($RES_SIM_144) (90) [ARRY] (2) smeeE.spacePhasorS.spacePhasor.v_ = smeeE.spacePhasorS.TransformationMatrix * smeeE.spacePhasorS.v ($RES_SIM_146) (91) [FOR-] (2) ($RES_SIM_230) (91) [----] for $i1 in 1:2 loop (91) [----] [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[$i1].v = 0.0 ($RES_SIM_231) (91) [----] end for; (92) [ARRY] (3) smeeE.spacePhasorS.i .* smeeE.spacePhasorS.turnsRatio = -smeeE.spacePhasorS.plug_n.pin.i ($RES_SIM_148) (93) [ARRY] (2) smeeM.rotorCage.resistor.i = smeeM.rotorCage.resistor.plug_p.pin.i ($RES_SIM_232) (94) [ARRY] (3) smeeE.spacePhasorS.i .* smeeE.spacePhasorS.turnsRatio = smeeE.spacePhasorS.plug_p.pin.i ($RES_SIM_149) (95) [ARRY] (2) smeeM.rotorCage.resistor.v = smeeM.rotorCage.resistor.plug_p.pin.v - smeeM.rotorCage.resistor.plug_n.pin.v ($RES_SIM_233) (96) [FOR-] (2) ($RES_SIM_234) (96) [----] for $i1 in 1:2 loop (96) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].i = smeeM.rotorCage.resistor.resistor[$i1].p.i ($RES_SIM_235) (96) [----] end for; (97) [FOR-] (2) ($RES_SIM_236) (97) [----] for $i1 in 1:2 loop (97) [----] [SCAL] (1) 0.0 = smeeM.rotorCage.resistor.resistor[$i1].p.i + smeeM.rotorCage.resistor.resistor[$i1].n.i ($RES_SIM_237) (97) [----] end for; (98) [SCAL] (1) smeeM.stator.core.V_m.re = 0.0 ($RES_SIM_320) (99) [SCAL] (1) smeeM.stator.core.lossPower = 1.5707963267948966 * (smeeM.stator.core.V_m.re * $DER.smeeM.stator.core.Phi.re + smeeM.stator.core.V_m.im * $DER.smeeM.stator.core.Phi.im) ($RES_SIM_321) (100) [FOR-] (2) ($RES_SIM_238) (100) [----] for $i1 in 1:2 loop (100) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].v = smeeM.rotorCage.resistor.resistor[$i1].p.v - smeeM.rotorCage.resistor.resistor[$i1].n.v ($RES_SIM_239) (100) [----] end for; (101) [ARRY] (3) smeeM.stator.resistor.i = smeeM.stator.resistor.plug_p.pin.i ($RES_SIM_322) (102) [ARRY] (3) smeeM.stator.resistor.v = smeeM.stator.resistor.plug_p.pin.v - smeeM.stator.resistor.plug_n.pin.v ($RES_SIM_323) (103) [FOR-] (3) ($RES_SIM_324) (103) [----] for $i1 in 1:3 loop (103) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].i = smeeM.stator.resistor.resistor[$i1].p.i ($RES_SIM_325) (103) [----] end for; (104) [FOR-] (3) ($RES_SIM_326) (104) [----] for $i1 in 1:3 loop (104) [----] [SCAL] (1) 0.0 = smeeM.stator.resistor.resistor[$i1].p.i + smeeM.stator.resistor.resistor[$i1].n.i ($RES_SIM_327) (104) [----] end for; (105) [FOR-] (3) ($RES_SIM_328) (105) [----] for $i1 in 1:3 loop (105) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].v = smeeM.stator.resistor.resistor[$i1].p.v - smeeM.stator.resistor.resistor[$i1].n.v ($RES_SIM_329) (105) [----] end for; (106) [SCAL] (1) mechanicalPowerSensorM.torqueSensor.flange_a.tau - mechanicalPowerSensorM.flange_a.tau = 0.0 ($RES_SIM_413) (107) [SCAL] (1) mechanicalPowerSensorE.flange_a.tau - smeeE.tauShaft = 0.0 ($RES_SIM_417) (108) [ARRY] (3) smeeE.spacePhasorS.v / smeeE.spacePhasorS.turnsRatio = smeeE.spacePhasorS.plug_p.pin.v - smeeE.spacePhasorS.plug_n.pin.v ($RES_SIM_150) (109) [SCAL] (1) -smeeE.statorCore.heatPort.Q_flow = 1.5 * (smeeE.statorCore.spacePhasor.v_[1] * smeeE.statorCore.spacePhasor.i_[1] + smeeE.statorCore.spacePhasor.v_[2] * smeeE.statorCore.spacePhasor.i_[2]) ($RES_SIM_151) (110) [ARRY] (2) smeeE.statorCore.spacePhasor.i_ = {0.0 for $i1 in 1:2} ($RES_SIM_152) (111) [SCAL] (1) smeeE.lszero.v = smeeE.spacePhasorS.zero.v ($RES_SIM_156) (112) [FOR-] (2) ($RES_SIM_240) (112) [----] for $i1 in 1:2 loop (112) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].LossPower = smeeM.rotorCage.resistor.resistor[$i1].v * smeeM.rotorCage.resistor.resistor[$i1].i ($RES_SIM_241) (112) [----] end for; (113) [SCAL] (1) smeeE.lszero.L * (-$DER.smeeE.i_0_s) = smeeE.lszero.v ($RES_SIM_157) (114) [SCAL] (1) smeeE.lssigma.v_[2] = smeeE.lssigma.L[2] * $DER.smeeE.lssigma.i_[2] ($RES_SIM_158) (115) [FOR-] (2) ($RES_SIM_242) (115) [----] for $i1 in 1:2 loop (115) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].v = smeeM.rotorCage.resistor.resistor[$i1].R_actual * smeeM.rotorCage.resistor.resistor[$i1].i ($RES_SIM_243) (115) [----] end for; (116) [SCAL] (1) smeeE.lssigma.v_[1] = smeeE.lssigma.L[1] * $DER.smeeE.lssigma.i_[1] ($RES_SIM_159) (117) [FOR-] (2) ($RES_SIM_244) (117) [----] for $i1 in 1:2 loop (117) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].R_actual = smeeM.rotorCage.resistor.resistor[$i1].R * (1.0 + smeeM.rotorCage.resistor.resistor[$i1].alpha * (smeeM.rotorCage.resistor.resistor[$i1].T_heatPort - smeeM.rotorCage.resistor.resistor[$i1].T_ref)) ($RES_SIM_245) (117) [----] end for; (118) [FOR-] (3) ($RES_SIM_330) (118) [----] for $i1 in 1:3 loop (118) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].LossPower = smeeM.stator.resistor.resistor[$i1].v * smeeM.stator.resistor.resistor[$i1].i ($RES_SIM_331) (118) [----] end for; (119) [FOR-] (2) ($RES_SIM_248) (119) [----] for $i1 in 1:2 loop (119) [----] [SCAL] (1) -smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].v = $DER.smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi.re * smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.re + $DER.smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi.im * smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.im ($RES_SIM_249) (119) [----] end for; (120) [FOR-] (3) ($RES_SIM_332) (120) [----] for $i1 in 1:3 loop (120) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].v = smeeM.stator.resistor.resistor[$i1].R_actual * smeeM.stator.resistor.resistor[$i1].i ($RES_SIM_333) (120) [----] end for; (121) [FOR-] (3) ($RES_SIM_334) (121) [----] for $i1 in 1:3 loop (121) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].R_actual = smeeM.stator.resistor.resistor[$i1].R * (1.0 + smeeM.stator.resistor.resistor[$i1].alpha * (smeeM.stator.resistor.resistor[$i1].T_heatPort - smeeM.stator.resistor.resistor[$i1].T_ref)) ($RES_SIM_335) (121) [----] end for; (122) [SCAL] (1) mechanicalPowerSensorM.flange_a.tau - smeeM.tauShaft = 0.0 ($RES_SIM_420) (123) [ARRY] (3) smeeM.stator.zeroInductor.i = smeeM.stator.zeroInductor.plug_p.pin.i ($RES_SIM_338) (124) [ARRY] (3) smeeM.stator.zeroInductor.v = smeeM.stator.zeroInductor.plug_p.pin.v - smeeM.stator.zeroInductor.plug_n.pin.v ($RES_SIM_339) (125) [SCAL] (1) (groundE.p.i + smeeE.ie) - smeeE.ie = 0.0 ($RES_SIM_423) (126) [SCAL] (1) (groundM.p.i + smeeM.ie) - smeeM.ie = 0.0 ($RES_SIM_424) (127) [SCAL] (1) smeeE.thermalAmbient.thermalPort.heatPortBrush.Q_flow + smeeE.brush.heatPort.Q_flow = 0.0 ($RES_SIM_425) (128) [SCAL] (1) smeeM.thermalAmbient.Q_flowStatorCore - smeeM.stator.core.lossPower = 0.0 ($RES_SIM_510) (129) [SCAL] (1) smeeE.thermalAmbient.Q_flowExcitation + smeeE.re.heatPort.Q_flow = 0.0 ($RES_SIM_428) (130) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.im - smeeM.stator.electroMagneticConverter.port_p.Phi.im = 0.0 ($RES_SIM_511) (131) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.re - smeeM.stator.electroMagneticConverter.port_p.Phi.re = 0.0 ($RES_SIM_512) (132) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.Phi.im - smeeM.stator.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_513) (133) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.Phi.im + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.im = 0.0 ($RES_SIM_514) (134) [ARRY] (2) smeeE.lssigma.i_ = smeeE.lssigma.spacePhasor_a.i_ ($RES_SIM_160) (135) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.im + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.im = 0.0 ($RES_SIM_515) (136) [ARRY] (2) smeeE.lssigma.v_ = smeeE.lssigma.spacePhasor_a.v_ - smeeE.lssigma.spacePhasor_b.v_ ($RES_SIM_161) (137) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.Phi.re - smeeM.stator.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_516) (138) [ARRY] (2) smeeE.lssigma.spacePhasor_a.i_ + smeeE.lssigma.spacePhasor_b.i_ = {0.0 for $i1 in 1:2} ($RES_SIM_162) (139) [SCAL] (1) smeeE.plug_sn.pin[3].v = rotorAngleE.plug_n.pin[3].v ($RES_SIM_600) (140) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.Phi.re + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.re = 0.0 ($RES_SIM_517) (141) [ARRY] (3) smeeE.rs.i = smeeE.rs.plug_p.pin.i ($RES_SIM_163) (142) [SCAL] (1) smeeE.plug_sn.pin[3].v = terminalBoxE.plug_sn.pin[3].v ($RES_SIM_601) (143) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.re + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.re = 0.0 ($RES_SIM_518) (144) [ARRY] (3) smeeE.rs.v = smeeE.rs.plug_p.pin.v - smeeE.rs.plug_n.pin.v ($RES_SIM_164) (145) [SCAL] (1) smeeE.plug_sn.pin[2].v = rotorAngleE.plug_n.pin[2].v ($RES_SIM_602) (146) [SCAL] (1) smeeM.stator.core.port_p.Phi.im + smeeM.stator.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_519) (147) [FOR-] (3) ($RES_SIM_165) (147) [----] for $i1 in 1:3 loop (147) [----] [SCAL] (1) smeeE.rs.resistor[$i1].i = smeeE.rs.resistor[$i1].p.i ($RES_SIM_166) (147) [----] end for; (148) [SCAL] (1) smeeE.plug_sn.pin[2].v = terminalBoxE.plug_sn.pin[2].v ($RES_SIM_603) (149) [SCAL] (1) smeeE.plug_sn.pin[1].v = rotorAngleE.plug_n.pin[1].v ($RES_SIM_604) (150) [FOR-] (3) ($RES_SIM_167) (150) [----] for $i1 in 1:3 loop (150) [----] [SCAL] (1) 0.0 = smeeE.rs.resistor[$i1].p.i + smeeE.rs.resistor[$i1].n.i ($RES_SIM_168) (150) [----] end for; (151) [SCAL] (1) smeeE.plug_sn.pin[1].v = terminalBoxE.plug_sn.pin[1].v ($RES_SIM_605) (152) [FOR-] (2) ($RES_SIM_252) (152) [----] for $i1 in 1:2 loop (152) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i = 0.0 ($RES_SIM_253) (152) [----] end for; (153) [FOR-] (3) ($RES_SIM_169) (153) [----] for $i1 in 1:3 loop (153) [----] [SCAL] (1) smeeE.rs.resistor[$i1].v = smeeE.rs.resistor[$i1].p.v - smeeE.rs.resistor[$i1].n.v ($RES_SIM_170) (153) [----] end for; (154) [FOR-] (2) ($RES_SIM_254) (154) [----] for $i1 in 1:2 loop (154) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i ($RES_SIM_255) (154) [----] end for; (155) [FOR-] (2) ($RES_SIM_256) (155) [----] for $i1 in 1:2 loop (155) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].v = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.v - smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.v ($RES_SIM_257) (155) [----] end for; (156) [ARRY] (3) smeeM.stator.zeroInductor.plug_p.pin.i + smeeM.stator.zeroInductor.plug_n.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_340) (157) [ARRY] (3) smeeM.stator.zeroInductor.v = {smeeM.stator.zeroInductor.v0 for $i1 in 1:3} ($RES_SIM_341) (158) [SCAL] (1) smeeM.stator.zeroInductor.v0 = smeeM.stator.zeroInductor.Lzero * $DER.smeeM.stator.zeroInductor.i0 ($RES_SIM_342) (159) [FOR-] (3) ($RES_SIM_344) (159) [----] for $i1 in 1:3 loop (159) [----] [SCAL] (1) -smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].v = $DER.smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi.re * smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.re + $DER.smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi.im * smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.im ($RES_SIM_345) (159) [----] end for; (160) [SCAL] (1) smeeE.thermalAmbient.Q_flowRotorWinding + smeeE.damperCage.heatPort.Q_flow = 0.0 ($RES_SIM_431) (161) [FOR-] (3) ($RES_SIM_348) (161) [----] for $i1 in 1:3 loop (161) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i = 0.0 ($RES_SIM_349) (161) [----] end for; (162) [SCAL] (1) smeeE.inertiaStator.flange_a.tau + smeeE.fixed.flange.tau + smeeE.tauElectrical = 0.0 ($RES_SIM_432) (163) [SCAL] (1) smeeM.stator.core.port_p.Phi.re + smeeM.stator.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_520) (164) [SCAL] (1) smeeM.airGap.port_sn.Phi.im + smeeM.stator.port_p.Phi.im = 0.0 ($RES_SIM_521) (165) [SCAL] (1) smeeM.airGap.port_sn.Phi.re + smeeM.stator.port_p.Phi.re = 0.0 ($RES_SIM_522) (166) [SCAL] (1) smeeM.inertiaStator.flange_a.tau + smeeM.fixed.flange.tau + smeeM.tauElectrical = 0.0 ($RES_SIM_523) (167) [FOR-] (3) ($RES_SIM_171) (167) [----] for $i1 in 1:3 loop (167) [----] [SCAL] (1) smeeE.rs.resistor[$i1].LossPower = smeeE.rs.resistor[$i1].v * smeeE.rs.resistor[$i1].i ($RES_SIM_172) (167) [----] end for; (168) [FOR-] (3) ($RES_SIM_173) (168) [----] for $i1 in 1:3 loop (168) [----] [SCAL] (1) smeeE.rs.resistor[$i1].v = smeeE.rs.resistor[$i1].R_actual * smeeE.rs.resistor[$i1].i ($RES_SIM_174) (168) [----] end for; (169) [FOR-] (3) ($RES_SIM_175) (169) [----] for $i1 in 1:3 loop (169) [----] [SCAL] (1) smeeE.rs.resistor[$i1].R_actual = smeeE.rs.resistor[$i1].R * (1.0 + smeeE.rs.resistor[$i1].alpha * (smeeE.rs.resistor[$i1].T_heatPort - smeeE.rs.resistor[$i1].T_ref)) ($RES_SIM_176) (169) [----] end for; (170) [ARRY] (3) smeeE.strayLoad.plug_p.pin.v = smeeE.plug_sp.pin.v ($RES_SIM_700) (171) [FOR-] (4) ($RES_SIM_262) (171) [----] for $i1 in 1:2 loop (171) [----] [RECD] (2) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].port_p.Phi = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi ($RES_SIM_263) (171) [----] end for; (172) [FOR-] (3) ($RES_SIM_701) (172) [----] for $i1 in 1:3 loop (172) [----] [SCAL] (1) smeeE.strayLoad.plug_n.pin[$i1].i + smeeE.rs.plug_p.pin[$i1].i = 0.0 ($RES_SIM_702) (172) [----] end for; (173) [ARRY] (3) smeeE.strayLoad.plug_n.pin.v = smeeE.rs.plug_p.pin.v ($RES_SIM_703) (174) [FOR-] (3) ($RES_SIM_704) (174) [----] for $i1 in 1:3 loop (174) [----] [SCAL] (1) smeeE.spacePhasorS.plug_n.pin[$i1].i - smeeE.plug_sn.pin[$i1].i = 0.0 ($RES_SIM_705) (174) [----] end for; (175) [SCAL] (1) smeeM.friction.w = $DER.smeeM.friction.phi ($RES_SIM_266) (176) [FOR-] (3) ($RES_SIM_350) (176) [----] for $i1 in 1:3 loop (176) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i ($RES_SIM_351) (176) [----] end for; (177) [SCAL] (1) smeeM.friction.phi = constantSpeedM.flange.phi - smeeM.fixed.phi0 ($RES_SIM_267) (178) [ARRY] (3) smeeE.spacePhasorS.plug_n.pin.v = smeeE.plug_sn.pin.v ($RES_SIM_706) (179) [SCAL] (1) -smeeM.friction.heatPort.Q_flow = 0.0 ($RES_SIM_268) (180) [FOR-] (3) ($RES_SIM_352) (180) [----] for $i1 in 1:3 loop (180) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].v = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.v - smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.v ($RES_SIM_353) (180) [----] end for; (181) [FOR-] (3) ($RES_SIM_441) (181) [----] for $i1 in 1:3 loop (181) [----] [SCAL] (1) smeeE.internalThermalPort.heatPortStatorWinding[$i1].Q_flow = 0.0 ($RES_SIM_442) (181) [----] end for; (182) [FOR-] (6) ($RES_SIM_358) (182) [----] for $i1 in 1:3 loop (182) [----] [RECD] (2) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].port_p.Phi = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi ($RES_SIM_359) (182) [----] end for; (183) [SCAL] (1) electricalPowerSensorE.plug_nv.pin[3].i + electricalPowerSensorM.plug_nv.pin[3].i + star.plug_p.pin[3].i + sineVoltage.plug_n.pin[3].i = 0.0 ($RES_SIM_530) (184) [SCAL] (1) electricalPowerSensorE.plug_nv.pin[2].i + electricalPowerSensorM.plug_nv.pin[2].i + star.plug_p.pin[2].i + sineVoltage.plug_n.pin[2].i = 0.0 ($RES_SIM_531) (185) [SCAL] (1) electricalPowerSensorE.plug_nv.pin[1].i + electricalPowerSensorM.plug_nv.pin[1].i + star.plug_p.pin[1].i + sineVoltage.plug_n.pin[1].i = 0.0 ($RES_SIM_532) (186) [SCAL] (1) electricalPowerSensorM.plug_nv.pin[3].v = sineVoltage.plug_n.pin[3].v ($RES_SIM_533) (187) [SCAL] (1) electricalPowerSensorM.plug_nv.pin[3].v = electricalPowerSensorE.plug_nv.pin[3].v ($RES_SIM_534) (188) [SCAL] (1) electricalPowerSensorM.plug_nv.pin[3].v = star.plug_p.pin[3].v ($RES_SIM_535) (189) [SCAL] (1) electricalPowerSensorM.plug_nv.pin[2].v = sineVoltage.plug_n.pin[2].v ($RES_SIM_536) (190) [SCAL] (1) smeeE.friction.w = $DER.smeeE.friction.phi ($RES_SIM_181) (191) [SCAL] (1) electricalPowerSensorM.plug_nv.pin[2].v = electricalPowerSensorE.plug_nv.pin[2].v ($RES_SIM_537) (192) [SCAL] (1) smeeE.friction.phi = constantSpeedE.flange.phi - smeeE.fixed.phi0 ($RES_SIM_182) (193) [ARRY] (2) rotorAngleE.ToPolarVSR.y = rotorAngleE.lessThreshold.u ($RES_SIM_621) (194) [SCAL] (1) electricalPowerSensorM.plug_nv.pin[2].v = star.plug_p.pin[2].v ($RES_SIM_538) (195) [SCAL] (1) -smeeE.friction.heatPort.Q_flow = 0.0 ($RES_SIM_183) (196) [SCAL] (1) electricalPowerSensorM.plug_nv.pin[1].v = sineVoltage.plug_n.pin[1].v ($RES_SIM_539) (197) [ARRY] (2) rotorAngleE.rotatorVS2R.y = rotorAngleE.ToPolarVSR.u ($RES_SIM_624) (198) [SCAL] (1) smeeE.inertiaStator.J * smeeE.inertiaStator.a = smeeE.inertiaStator.flange_a.tau ($RES_SIM_186) (199) [ARRY] (2) rotorAngleE.ToSpacePhasorVS.y = rotorAngleE.rotatorVS2R.u ($RES_SIM_625) (200) [ARRY] (3) smeeM.strayLoad.i = smeeM.strayLoad.plug_p.pin.i ($RES_SIM_270) (201) [SCAL] (1) smeeE.inertiaStator.a = $DER.smeeE.inertiaStator.w ($RES_SIM_187) (202) [ARRY] (3) rotorAngleE.VoltageSensor1.v = rotorAngleE.ToSpacePhasorVS.u ($RES_SIM_626) (203) [ARRY] (3) smeeM.strayLoad.v = smeeM.strayLoad.plug_p.pin.v - smeeM.strayLoad.plug_n.pin.v ($RES_SIM_271) (204) [SCAL] (1) smeeE.inertiaStator.w = $DER.smeeE.fixed.phi0 ($RES_SIM_188) (205) [ARRY] (3) smeeM.strayLoad.plug_p.pin.i + smeeM.strayLoad.plug_n.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_272) (206) [SCAL] (1) smeeM.strayLoad.w = $DER.smeeM.strayLoad.phi ($RES_SIM_275) (207) [SCAL] (1) smeeM.strayLoad.phi = constantSpeedM.flange.phi - smeeM.fixed.phi0 ($RES_SIM_276) (208) [SCAL] (1) -smeeM.strayLoad.heatPort.Q_flow = 0.0 ($RES_SIM_277) (209) [SCAL] (1) smeeM.inertiaStator.J * smeeM.inertiaStator.a = smeeM.inertiaStator.flange_a.tau ($RES_SIM_361) (210) [SCAL] (1) smeeM.inertiaStator.a = $DER.smeeM.inertiaStator.w ($RES_SIM_362) (211) [ARRY] (3) smeeM.strayLoad.v = {0.0 for $i1 in 1:3} ($RES_SIM_279) (212) [ARRY] (3) smeeM.stator.plug_n.pin.v = smeeM.plug_sn.pin.v ($RES_SIM_801) (213) [SCAL] (1) smeeM.inertiaStator.w = $DER.smeeM.fixed.phi0 ($RES_SIM_363) (214) [FOR-] (2) ($RES_SIM_719) (214) [----] for $i1 in 1:2 loop (214) [----] [SCAL] (1) smeeE.lssigma.spacePhasor_b.i_[$i1] + smeeE.airGapR.spacePhasor_s.i_[$i1] = 0.0 ($RES_SIM_720) (214) [----] end for; (215) [SCAL] (1) smeeM.rotorCage.port_p.V_m.im = smeeM.excitation.port_n.V_m.im ($RES_SIM_804) (216) [SCAL] (1) smeeM.inertiaRotor.J * smeeM.inertiaRotor.a = smeeM.tauElectrical + smeeM.inertiaRotor.flange_b.tau ($RES_SIM_366) (217) [SCAL] (1) smeeM.rotorCage.port_p.V_m.re = smeeM.excitation.port_n.V_m.re ($RES_SIM_805) (218) [SCAL] (1) smeeM.inertiaRotor.a = $DER.smeeM.inertiaRotor.w ($RES_SIM_367) (219) [SCAL] (1) smeeM.airGap.port_rp.V_m.im = smeeM.rotorCage.port_n.V_m.im ($RES_SIM_806) (220) [SCAL] (1) smeeM.inertiaRotor.w = $DER.constantSpeedM.flange.phi ($RES_SIM_368) (221) [SCAL] (1) smeeM.airGap.port_rp.V_m.re = smeeM.rotorCage.port_n.V_m.re ($RES_SIM_807) (222) [SCAL] (1) smeeE.strayLoad.heatPort.Q_flow + smeeE.thermalAmbient.Q_flowStrayLoad = 0.0 ($RES_SIM_452) (223) [SCAL] (1) smeeE.tauShaft + smeeE.inertiaRotor.flange_b.tau = 0.0 ($RES_SIM_453) (224) [SCAL] (1) smeeE.statorCore.heatPort.Q_flow + smeeE.thermalAmbient.Q_flowStatorCore = 0.0 ($RES_SIM_455) (225) [SCAL] (1) electricalPowerSensorM.plug_nv.pin[1].v = electricalPowerSensorE.plug_nv.pin[1].v ($RES_SIM_540) (226) [SCAL] (1) electricalPowerSensorM.plug_nv.pin[1].v = star.plug_p.pin[1].v ($RES_SIM_541) (227) [SCAL] (1) smeeE.friction.heatPort.Q_flow + smeeE.thermalAmbient.Q_flowFriction = 0.0 ($RES_SIM_458) (228) [FOR-] (3) ($RES_SIM_542) (228) [----] for $i1 in 1:3 loop (228) [----] [SCAL] (1) electricalPowerSensorE.plug_ni.pin[$i1].i + terminalBoxE.plugSupply.pin[$i1].i = 0.0 ($RES_SIM_543) (228) [----] end for; (229) [ARRY] (3) electricalPowerSensorE.plug_ni.pin.v = terminalBoxE.plugSupply.pin.v ($RES_SIM_544) (230) [FOR-] (3) ($RES_SIM_545) (230) [----] for $i1 in 1:3 loop (230) [----] [SCAL] (1) electricalPowerSensorM.plug_ni.pin[$i1].i + terminalBoxM.plugSupply.pin[$i1].i = 0.0 ($RES_SIM_546) (230) [----] end for; (231) [SCAL] (1) smeeE.inertiaRotor.J * smeeE.inertiaRotor.a = smeeE.tauElectrical + smeeE.inertiaRotor.flange_b.tau ($RES_SIM_191) (232) [ARRY] (3) electricalPowerSensorM.plug_ni.pin.v = terminalBoxM.plugSupply.pin.v ($RES_SIM_547) (233) [SCAL] (1) smeeE.inertiaRotor.a = $DER.smeeE.inertiaRotor.w ($RES_SIM_192) (234) [FOR-] (3) ($RES_SIM_631) (234) [----] for $i1 in 1:3 loop (234) [----] [SCAL] (1) rotorAngleE.VoltageSensor1.plug_n.pin[$i1].i - rotorAngleE.plug_n.pin[$i1].i = 0.0 ($RES_SIM_632) (234) [----] end for; (235) [SCAL] (1) electricalPowerSensorE.plug_p.pin[3].i + sineVoltage.plug_p.pin[3].i + electricalPowerSensorM.plug_p.pin[3].i = 0.0 ($RES_SIM_548) (236) [SCAL] (1) smeeE.inertiaRotor.w = $DER.constantSpeedE.flange.phi ($RES_SIM_193) (237) [SCAL] (1) electricalPowerSensorE.plug_p.pin[2].i + sineVoltage.plug_p.pin[2].i + electricalPowerSensorM.plug_p.pin[2].i = 0.0 ($RES_SIM_549) (238) [ARRY] (3) rotorAngleE.plug_n.pin.v = rotorAngleE.VoltageSensor1.plug_n.pin.v ($RES_SIM_633) (239) [FOR-] (3) ($RES_SIM_634) (239) [----] for $i1 in 1:3 loop (239) [----] [SCAL] (1) rotorAngleE.VoltageSensor1.plug_p.pin[$i1].i - rotorAngleE.plug_p.pin[$i1].i = 0.0 ($RES_SIM_635) (239) [----] end for; (240) [SCAL] (1) smeeM.phiMechanical = constantSpeedM.flange.phi - smeeM.fixed.phi0 ($RES_BND_972) (241) [ARRY] (3) rotorAngleE.plug_p.pin.v = rotorAngleE.VoltageSensor1.plug_p.pin.v ($RES_SIM_636) (242) [SCAL] (1) 0.0 = rampCurrentM.n.v - smeeM.brush.n.v ($RES_SIM_198) (243) [SCAL] (1) smeeM.wMechanical = $DER.smeeM.phiMechanical ($RES_BND_973) (244) [ARRY] (3) rotorAngleE.VoltageSensor1.voltageSensor.v = rotorAngleE.VoltageSensor1.v ($RES_SIM_637) (245) [SCAL] (1) smeeM.airGap.gamma = smeeM.airGap.p * (constantSpeedM.flange.phi - smeeM.fixed.phi0) ($RES_SIM_282) (246) [SCAL] (1) -smeeM.brush.heatPort.Q_flow = 0.0 ($RES_SIM_199) (247) [ARRY] (2) smeeE.lssigma.spacePhasor_b.v_ = smeeE.airGapR.spacePhasor_s.v_ ($RES_SIM_721) (248) [FOR-] (3) ($RES_SIM_638) (248) [----] for $i1 in 1:3 loop (248) [----] [SCAL] (1) rotorAngleE.VoltageSensor1.voltageSensor[$i1].p.i - rotorAngleE.VoltageSensor1.plug_p.pin[$i1].i = 0.0 ($RES_SIM_639) (248) [----] end for; (249) [SCAL] (1) smeeM.powerBalance.lossPowerBrush = -smeeM.brush.heatPort.Q_flow ($RES_BND_976) (250) [SCAL] (1) smeeM.tauElectrical = -(1.5707963267948966 * smeeM.airGap.p) * (smeeM.airGap.Phi_ss.im * smeeM.airGap.V_mss.re - smeeM.airGap.Phi_ss.re * smeeM.airGap.V_mss.im) ($RES_SIM_285) (251) [SCAL] (1) smeeM.powerBalance.lossPowerExcitation = smeeM.excitation.resistor.LossPower ($RES_BND_977) (252) [SCAL] (1) 1.5707963267948966 * (smeeM.airGap.V_mrr.im + smeeM.airGap.V_msr.im) = smeeM.airGap.Phi_rr.im * smeeM.airGap.R_m.q ($RES_SIM_286) (253) [SCAL] (1) smeeM.powerBalance.powerExcitation = smeeM.ve * smeeM.ie ($RES_BND_978) (254) [SCAL] (1) 1.5707963267948966 * (smeeM.airGap.V_mrr.re + smeeM.airGap.V_msr.re) = smeeM.airGap.Phi_rr.re * smeeM.airGap.R_m.d ($RES_SIM_287) (255) [SCAL] (1) smeeM.powerBalance.lossPowerRotorWinding = smeeM.damperCageLossPower ($RES_BND_979) (256) [RECD] (2) smeeM.airGap.Phi_sr = smeeM.airGap.Phi_rr ($RES_SIM_288) (257) [FOR-] (3) ($RES_SIM_372) (257) [----] for $i1 in 1:3 loop (257) [----] [SCAL] (1) terminalBoxE.star.plug_p.pin[$i1].v = terminalBoxE.star.pin_n.v ($RES_SIM_373) (257) [----] end for; (258) [SCAL] (1) smeeE.electricalExcitation.spacePhasor_r.i_[2] + smeeE.airGapR.spacePhasor_r.i_[2] + smeeE.damperCage.spacePhasor_r.i_[2] = 0.0 ($RES_SIM_728) (259) [SCAL] (1) smeeE.electricalExcitation.spacePhasor_r.i_[1] + smeeE.airGapR.spacePhasor_r.i_[1] + smeeE.damperCage.spacePhasor_r.i_[1] = 0.0 ($RES_SIM_729) (260) [FOR-] (3) ($RES_SIM_375) (260) [----] for $i1 in 1:3 loop (260) [----] [SCAL] (1) terminalBoxM.star.plug_p.pin[$i1].v = terminalBoxM.star.pin_n.v ($RES_SIM_376) (260) [----] end for; (261) [SCAL] (1) smeeM.groundR.port_p.V_m.im = smeeM.excitation.port_p.V_m.im ($RES_SIM_815) (262) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortBrush.Q_flow + smeeM.brush.heatPort.Q_flow = 0.0 ($RES_SIM_460) (263) [SCAL] (1) 0.6666666666666666 * electricalPowerSensorE.Q = electricalPowerSensorE.v_[2] * electricalPowerSensorE.i_[1] - electricalPowerSensorE.v_[1] * electricalPowerSensorE.i_[2] ($RES_SIM_377) (264) [SCAL] (1) smeeM.groundR.port_p.V_m.im = smeeM.airGap.port_rn.V_m.im ($RES_SIM_816) (265) [SCAL] (1) 0.6666666666666666 * electricalPowerSensorE.P = electricalPowerSensorE.v_[1] * electricalPowerSensorE.i_[1] + electricalPowerSensorE.v_[2] * electricalPowerSensorE.i_[2] ($RES_SIM_378) (266) [SCAL] (1) smeeM.groundR.port_p.V_m.re = smeeM.excitation.port_p.V_m.re ($RES_SIM_817) (267) [SCAL] (1) smeeM.thermalAmbient.Q_flowExcitation - smeeM.excitation.resistor.LossPower = 0.0 ($RES_SIM_462) (268) [ARRY] (2) electricalPowerSensorE.i_ = $FUN_9 ($RES_SIM_379) (269) [ARRY] (3) smeeM.stator.zeroInductor.plug_n.pin.v = smeeM.stator.electroMagneticConverter.plug_p.pin.v ($RES_SIM_901) (270) [SCAL] (1) smeeM.groundR.port_p.V_m.re = smeeM.airGap.port_rn.V_m.re ($RES_SIM_818) (271) [SCAL] (1) (smeeM.stator.core.port_n.Phi.im + smeeM.stator.strayReluctance.port_n.Phi.im) - smeeM.stator.port_n.Phi.im = 0.0 ($RES_SIM_903) (272) [SCAL] (1) smeeM.groundR.port_p.Phi.im + smeeM.excitation.port_p.Phi.im + smeeM.airGap.port_rn.Phi.im = 0.0 ($RES_SIM_465) (273) [SCAL] (1) (smeeM.stator.core.port_n.Phi.re + smeeM.stator.strayReluctance.port_n.Phi.re) - smeeM.stator.port_n.Phi.re = 0.0 ($RES_SIM_904) (274) [SCAL] (1) smeeM.groundR.port_p.Phi.re + smeeM.excitation.port_p.Phi.re + smeeM.airGap.port_rn.Phi.re = 0.0 ($RES_SIM_466) (275) [SCAL] (1) smeeM.stator.strayReluctance.port_n.V_m.im = smeeM.stator.port_n.V_m.im ($RES_SIM_905) (276) [SCAL] (1) electricalPowerSensorE.plug_p.pin[1].i + sineVoltage.plug_p.pin[1].i + electricalPowerSensorM.plug_p.pin[1].i = 0.0 ($RES_SIM_550) (277) [SCAL] (1) smeeM.stator.strayReluctance.port_n.V_m.im = smeeM.stator.core.port_n.V_m.im ($RES_SIM_906) (278) [SCAL] (1) electricalPowerSensorE.plug_p.pin[3].v = electricalPowerSensorM.plug_p.pin[3].v ($RES_SIM_551) (279) [SCAL] (1) smeeM.thermalAmbient.Q_flowRotorWinding + smeeM.rotorCage.heatPortWinding.Q_flow = 0.0 ($RES_SIM_468) (280) [SCAL] (1) smeeM.stator.strayReluctance.port_n.V_m.re = smeeM.stator.port_n.V_m.re ($RES_SIM_907) (281) [SCAL] (1) electricalPowerSensorE.plug_p.pin[3].v = sineVoltage.plug_p.pin[3].v ($RES_SIM_552) (282) [SCAL] (1) smeeM.stator.strayReluctance.port_n.V_m.re = smeeM.stator.core.port_n.V_m.re ($RES_SIM_908) (283) [SCAL] (1) electricalPowerSensorE.plug_p.pin[2].v = electricalPowerSensorM.plug_p.pin[2].v ($RES_SIM_553) (284) [SCAL] (1) smeeM.stator.electroMagneticConverter.port_n.V_m.im = smeeM.stator.core.port_p.V_m.im ($RES_SIM_909) (285) [SCAL] (1) electricalPowerSensorE.plug_p.pin[2].v = sineVoltage.plug_p.pin[2].v ($RES_SIM_554) (286) [SCAL] (1) electricalPowerSensorE.plug_p.pin[1].v = electricalPowerSensorM.plug_p.pin[1].v ($RES_SIM_555) (287) [SCAL] (1) electricalPowerSensorE.plug_p.pin[1].v = sineVoltage.plug_p.pin[1].v ($RES_SIM_556) (288) [ARRY] (3) rotorAngleE.VoltageSensor1.voltageSensor.p.v = rotorAngleE.VoltageSensor1.plug_p.pin.v ($RES_SIM_640) (289) [FOR-] (3) ($RES_SIM_641) (289) [----] for $i1 in 1:3 loop (289) [----] [SCAL] (1) rotorAngleE.VoltageSensor1.voltageSensor[$i1].n.i - rotorAngleE.VoltageSensor1.plug_n.pin[$i1].i = 0.0 ($RES_SIM_642) (289) [----] end for; (290) [ARRY] (3) rotorAngleE.VoltageSensor1.voltageSensor.n.v = rotorAngleE.VoltageSensor1.plug_n.pin.v ($RES_SIM_643) (291) [SCAL] (1) smeeM.powerBalance.lossPowerFriction = -smeeM.friction.heatPort.Q_flow ($RES_BND_980) (292) [SCAL] (1) smeeM.powerBalance.lossPowerStrayLoad = -smeeM.strayLoad.heatPort.Q_flow ($RES_BND_981) (293) [ARRY] (2) rotorAngleM.ToPolarVSR.y = rotorAngleM.lessThreshold.u ($RES_SIM_645) (294) [SCAL] (1) smeeM.powerBalance.lossPowerRotorCore = 0.0 ($RES_BND_982) (295) [SCAL] (1) smeeM.powerBalance.lossPowerStatorCore = smeeM.stator.core.lossPower ($RES_BND_983) (296) [SCAL] (1) smeeE.airGapR.spacePhasor_r.v_[2] = smeeE.damperCage.spacePhasor_r.v_[2] ($RES_SIM_730) (297) [SCAL] (1) smeeM.powerBalance.lossPowerStatorWinding = $FUN_39 ($RES_BND_984) (298) [SCAL] (1) smeeE.airGapR.spacePhasor_r.v_[2] = smeeE.electricalExcitation.spacePhasor_r.v_[2] ($RES_SIM_731) (299) [ARRY] (2) rotorAngleM.rotatorVS2R.y = rotorAngleM.ToPolarVSR.u ($RES_SIM_648) (300) [SCAL] (1) smeeM.powerBalance.lossPowerTotal = smeeM.powerBalance.lossPowerExcitation + smeeM.powerBalance.lossPowerFriction + smeeM.powerBalance.lossPowerRotorCore + smeeM.powerBalance.lossPowerStatorWinding + smeeM.powerBalance.lossPowerStatorCore + smeeM.powerBalance.lossPowerStrayLoad + smeeM.powerBalance.lossPowerRotorWinding + smeeM.powerBalance.lossPowerBrush ($RES_BND_985) (301) [SCAL] (1) smeeE.airGapR.spacePhasor_r.v_[1] = smeeE.damperCage.spacePhasor_r.v_[1] ($RES_SIM_732) (302) [ARRY] (2) rotorAngleM.ToSpacePhasorVS.y = rotorAngleM.rotatorVS2R.u ($RES_SIM_649) (303) [RECD] (2) smeeM.airGap.port_rp.Phi = smeeM.airGap.Phi_rr ($RES_SIM_294) (304) [SCAL] (1) smeeM.powerBalance.powerInertiaRotor = smeeM.inertiaRotor.a * smeeM.inertiaRotor.J * smeeM.inertiaRotor.w ($RES_BND_986) (305) [SCAL] (1) smeeE.airGapR.spacePhasor_r.v_[1] = smeeE.electricalExcitation.spacePhasor_r.v_[1] ($RES_SIM_733) (306) [SCAL] (1) smeeM.powerBalance.powerInertiaStator = smeeM.inertiaStator.a * smeeM.inertiaStator.J * smeeM.inertiaStator.w ($RES_BND_987) (307) [RECD] (2) smeeM.airGap.port_sp.Phi = smeeM.airGap.Phi_ss ($RES_SIM_296) (308) [SCAL] (1) smeeM.powerBalance.powerMechanical = smeeM.wMechanical * smeeM.tauShaft ($RES_BND_988) (309) [SCAL] (1) smeeE.idq_dr[2] = smeeE.ir[2] ($RES_SIM_735) (310) [ARRY] (2) electricalPowerSensorE.v_ = $FUN_7 ($RES_SIM_380) (311) [SCAL] (1) smeeM.powerBalance.powerStator = sum(smeeM.vs * smeeM.is) ($RES_BND_989) (312) [SCAL] (1) smeeE.idq_dr[2] = smeeE.damperCage.i[2] ($RES_SIM_736) (313) [ARRY] (3) electricalPowerSensorE.plug_nv.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_381) (314) [SCAL] (1) smeeE.idq_dr[1] = smeeE.ir[1] ($RES_SIM_737) (315) [ARRY] (3) electricalPowerSensorE.plug_p.pin.i + electricalPowerSensorE.plug_ni.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_382) (316) [SCAL] (1) smeeE.idq_dr[1] = smeeE.damperCage.i[1] ($RES_SIM_738) (317) [ARRY] (3) electricalPowerSensorE.plug_p.pin.v = electricalPowerSensorE.plug_ni.pin.v ($RES_SIM_383) (318) [SCAL] (1) 0.6666666666666666 * electricalPowerSensorM.Q = electricalPowerSensorM.v_[2] * electricalPowerSensorM.i_[1] - electricalPowerSensorM.v_[1] * electricalPowerSensorM.i_[2] ($RES_SIM_384) (319) [ARRY] (2) smeeM.ir = smeeM.rotorCage.i ($RES_SIM_823) (320) [SCAL] (1) 0.6666666666666666 * electricalPowerSensorM.P = electricalPowerSensorM.v_[1] * electricalPowerSensorM.i_[1] + electricalPowerSensorM.v_[2] * electricalPowerSensorM.i_[2] ($RES_SIM_385) (321) [ARRY] (2) electricalPowerSensorM.i_ = $FUN_5 ($RES_SIM_386) (322) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.im - smeeM.rotorCage.electroMagneticConverter.port_p.Phi.im = 0.0 ($RES_SIM_470) (323) [ARRY] (2) electricalPowerSensorM.v_ = $FUN_3 ($RES_SIM_387) (324) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.re - smeeM.rotorCage.electroMagneticConverter.port_p.Phi.re = 0.0 ($RES_SIM_471) (325) [ARRY] (3) electricalPowerSensorM.plug_nv.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_388) (326) [SCAL] (1) smeeM.stator.electroMagneticConverter.port_n.V_m.re = smeeM.stator.core.port_p.V_m.re ($RES_SIM_910) (327) [SCAL] (1) (smeeM.excitation.electroMagneticConverter.port_n.Phi.im + smeeM.excitation.reluctance.port_n.Phi.im) - smeeM.excitation.port_n.Phi.im = 0.0 ($RES_SIM_827) (328) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.im - smeeM.rotorCage.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_472) (329) [ARRY] (3) electricalPowerSensorM.plug_p.pin.i + electricalPowerSensorM.plug_ni.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_389) (330) [FOR-] (3) ($RES_SIM_911) (330) [----] for $i1 in 1:3 loop (330) [----] [SCAL] (1) smeeM.stator.resistor.heatPort[$i1].Q_flow - smeeM.stator.heatPortWinding[$i1].Q_flow = 0.0 ($RES_SIM_912) (330) [----] end for; (331) [SCAL] (1) (smeeM.excitation.electroMagneticConverter.port_n.Phi.re + smeeM.excitation.reluctance.port_n.Phi.re) - smeeM.excitation.port_n.Phi.re = 0.0 ($RES_SIM_828) (332) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.im + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.im = 0.0 ($RES_SIM_473) (333) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_n.V_m.im = smeeM.excitation.port_n.V_m.im ($RES_SIM_829) (334) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.re - smeeM.rotorCage.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_474) (335) [ARRY] (3) smeeM.stator.resistor.heatPort.T = smeeM.stator.heatPortWinding.T ($RES_SIM_913) (336) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.re + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.re = 0.0 ($RES_SIM_475) (337) [SCAL] (1) (smeeM.stator.electroMagneticConverter.port_p.Phi.im + smeeM.stator.strayReluctance.port_p.Phi.im) - smeeM.stator.port_p.Phi.im = 0.0 ($RES_SIM_914) (338) [SCAL] (1) (smeeM.rotorCage.electroMagneticConverter.port_n.Phi.im + smeeM.rotorCage.strayReluctance.port_n.Phi.im) - smeeM.rotorCage.port_n.Phi.im = 0.0 ($RES_SIM_476) (339) [SCAL] (1) (smeeM.stator.electroMagneticConverter.port_p.Phi.re + smeeM.stator.strayReluctance.port_p.Phi.re) - smeeM.stator.port_p.Phi.re = 0.0 ($RES_SIM_915) (340) [SCAL] (1) (smeeM.rotorCage.electroMagneticConverter.port_n.Phi.re + smeeM.rotorCage.strayReluctance.port_n.Phi.re) - smeeM.rotorCage.port_n.Phi.re = 0.0 ($RES_SIM_477) (341) [SCAL] (1) smeeM.stator.strayReluctance.port_p.V_m.im = smeeM.stator.port_p.V_m.im ($RES_SIM_916) (342) [SCAL] (1) (smeeM.rotorCage.electroMagneticConverter.port_p.Phi.im + smeeM.rotorCage.strayReluctance.port_p.Phi.im) - smeeM.rotorCage.port_p.Phi.im = 0.0 ($RES_SIM_478) (343) [SCAL] (1) smeeM.stator.strayReluctance.port_p.V_m.im = smeeM.stator.electroMagneticConverter.port_p.V_m.im ($RES_SIM_917) (344) [SCAL] (1) (smeeM.rotorCage.electroMagneticConverter.port_p.Phi.re + smeeM.rotorCage.strayReluctance.port_p.Phi.re) - smeeM.rotorCage.port_p.Phi.re = 0.0 ($RES_SIM_479) (345) [SCAL] (1) smeeM.stator.strayReluctance.port_p.V_m.re = smeeM.stator.port_p.V_m.re ($RES_SIM_918) (346) [SCAL] (1) terminalBoxM.plug_sp.pin[3].i + smeeM.plug_sp.pin[3].i + rotorAngleM.plug_p.pin[3].i = 0.0 ($RES_SIM_563) (347) [SCAL] (1) smeeM.stator.strayReluctance.port_p.V_m.re = smeeM.stator.electroMagneticConverter.port_p.V_m.re ($RES_SIM_919) (348) [SCAL] (1) terminalBoxM.plug_sp.pin[2].i + smeeM.plug_sp.pin[2].i + rotorAngleM.plug_p.pin[2].i = 0.0 ($RES_SIM_564) (349) [SCAL] (1) terminalBoxM.plug_sp.pin[1].i + smeeM.plug_sp.pin[1].i + rotorAngleM.plug_p.pin[1].i = 0.0 ($RES_SIM_565) (350) [SCAL] (1) smeeM.plug_sp.pin[3].v = rotorAngleM.plug_p.pin[3].v ($RES_SIM_566) (351) [ARRY] (3) rotorAngleM.VoltageSensor1.v = rotorAngleM.ToSpacePhasorVS.u ($RES_SIM_650) (352) [SCAL] (1) smeeM.plug_sp.pin[3].v = terminalBoxM.plug_sp.pin[3].v ($RES_SIM_567) (353) [SCAL] (1) smeeM.plug_sp.pin[2].v = rotorAngleM.plug_p.pin[2].v ($RES_SIM_568) (354) [SCAL] (1) smeeM.plug_sp.pin[2].v = terminalBoxM.plug_sp.pin[2].v ($RES_SIM_569) (355) [ARRY] (3) smeeM.vs = smeeM.plug_sp.pin.v - smeeM.plug_sn.pin.v ($RES_BND_990) (356) [ARRY] (3) smeeM.is = smeeM.plug_sp.pin.i ($RES_BND_991) (357) [FOR-] (3) ($RES_SIM_655) (357) [----] for $i1 in 1:3 loop (357) [----] [SCAL] (1) rotorAngleM.VoltageSensor1.plug_n.pin[$i1].i - rotorAngleM.plug_n.pin[$i1].i = 0.0 ($RES_SIM_656) (357) [----] end for; (358) [ARRY] (3) smeeM.stator.v = smeeM.stator.plug_p.pin.v - smeeM.stator.plug_n.pin.v ($RES_BND_992) (359) [ARRY] (3) smeeM.stator.i = smeeM.stator.plug_p.pin.i ($RES_BND_993) (360) [ARRY] (3) rotorAngleM.plug_n.pin.v = rotorAngleM.VoltageSensor1.plug_n.pin.v ($RES_SIM_657) (361) [SCAL] (1) smeeM.stator.abs_V_m = (smeeM.stator.V_m.re ^ 2.0 + smeeM.stator.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_994) (362) [FOR-] (3) ($RES_SIM_741) (362) [----] for $i1 in 1:3 loop (362) [----] [SCAL] (1) smeeE.thermalAmbient.thermalCollectorStator.port_a[$i1].Q_flow - smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[$i1].Q_flow = 0.0 ($RES_SIM_742) (362) [----] end for; (363) [FOR-] (3) ($RES_SIM_658) (363) [----] for $i1 in 1:3 loop (363) [----] [SCAL] (1) rotorAngleM.VoltageSensor1.plug_p.pin[$i1].i - rotorAngleM.plug_p.pin[$i1].i = 0.0 ($RES_SIM_659) (363) [----] end for; (364) [SCAL] (1) smeeM.stator.arg_V_m = Modelica.Math.atan3(smeeM.stator.V_m.im, smeeM.stator.V_m.re, 0.0) ($RES_BND_995) (365) [SCAL] (1) smeeM.stator.abs_Phi = (smeeM.stator.Phi.re ^ 2.0 + smeeM.stator.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_996) (366) [ARRY] (3) smeeE.thermalAmbient.thermalCollectorStator.port_a.T = smeeE.thermalAmbient.thermalPort.heatPortStatorWinding.T ($RES_SIM_743) (367) [SCAL] (1) smeeM.stator.arg_Phi = Modelica.Math.atan3(smeeM.stator.Phi.im, smeeM.stator.Phi.re, 0.0) ($RES_BND_997) (368) [ARRY] (3) smeeM.stator.electroMagneticConverter.v = smeeM.stator.electroMagneticConverter.plug_p.pin.v - smeeM.stator.electroMagneticConverter.plug_n.pin.v ($RES_BND_998) (369) [ARRY] (3) electricalPowerSensorM.plug_p.pin.v = electricalPowerSensorM.plug_ni.pin.v ($RES_SIM_390) (370) [ARRY] (3) smeeM.stator.electroMagneticConverter.i = smeeM.stator.electroMagneticConverter.plug_p.pin.i ($RES_BND_999) (371) [ARRY] (3) sineVoltage.i = sineVoltage.plug_p.pin.i ($RES_SIM_391) (372) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_n.V_m.im = smeeM.excitation.reluctance.port_n.V_m.im ($RES_SIM_830) (373) [ARRY] (3) sineVoltage.v = sineVoltage.plug_p.pin.v - sineVoltage.plug_n.pin.v ($RES_SIM_392) (374) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_n.V_m.re = smeeM.excitation.port_n.V_m.re ($RES_SIM_831) (375) [FOR-] (3) ($RES_SIM_393) (375) [----] for $i1 in 1:3 loop (375) [----] [SCAL] (1) sineVoltage.sineVoltage[$i1].i = sineVoltage.sineVoltage[$i1].p.i ($RES_SIM_394) (375) [----] end for; (376) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_n.V_m.re = smeeM.excitation.reluctance.port_n.V_m.re ($RES_SIM_832) (377) [SCAL] (1) (smeeM.excitation.electroMagneticConverter.port_p.Phi.im + smeeM.excitation.reluctance.port_p.Phi.im) - smeeM.excitation.port_p.Phi.im = 0.0 ($RES_SIM_833) (378) [FOR-] (3) ($RES_SIM_395) (378) [----] for $i1 in 1:3 loop (378) [----] [SCAL] (1) 0.0 = sineVoltage.sineVoltage[$i1].p.i + sineVoltage.sineVoltage[$i1].n.i ($RES_SIM_396) (378) [----] end for; (379) [SCAL] (1) (smeeM.excitation.electroMagneticConverter.port_p.Phi.re + smeeM.excitation.reluctance.port_p.Phi.re) - smeeM.excitation.port_p.Phi.re = 0.0 ($RES_SIM_834) (380) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.im = smeeM.excitation.port_p.V_m.im ($RES_SIM_835) (381) [SCAL] (1) smeeM.excitation.port_n.Phi.im + smeeM.rotorCage.port_p.Phi.im = 0.0 ($RES_SIM_480) (382) [FOR-] (3) ($RES_SIM_397) (382) [----] for $i1 in 1:3 loop (382) [----] [SCAL] (1) sineVoltage.sineVoltage[$i1].v = sineVoltage.sineVoltage[$i1].p.v - sineVoltage.sineVoltage[$i1].n.v ($RES_SIM_398) (382) [----] end for; (383) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.im = smeeM.excitation.reluctance.port_p.V_m.im ($RES_SIM_836) (384) [SCAL] (1) smeeM.excitation.port_n.Phi.re + smeeM.rotorCage.port_p.Phi.re = 0.0 ($RES_SIM_481) (385) [FOR-] (3) ($RES_SIM_920) (385) [----] for $i1 in 1:3 loop (385) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.plug_n.pin[$i1].i - smeeM.stator.plug_n.pin[$i1].i = 0.0 ($RES_SIM_921) (385) [----] end for; (386) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.re = smeeM.excitation.port_p.V_m.re ($RES_SIM_837) (387) [FOR-] (3) ($RES_SIM_399) (387) [----] for $i1 in 1:3 loop (387) [----] [SCAL] (1) sineVoltage.sineVoltage[$i1].v = sineVoltage.sineVoltage[$i1].signalSource.y ($RES_SIM_400) (387) [----] end for; (388) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.re = smeeM.excitation.reluctance.port_p.V_m.re ($RES_SIM_838) (389) [ARRY] (3) smeeM.stator.electroMagneticConverter.plug_n.pin.v = smeeM.stator.plug_n.pin.v ($RES_SIM_922) (390) [FOR-] (3) ($RES_SIM_923) (390) [----] for $i1 in 1:3 loop (390) [----] [SCAL] (1) smeeM.stator.resistor.plug_n.pin[$i1].i + smeeM.stator.zeroInductor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_924) (390) [----] end for; (391) [ARRY] (3) smeeM.stator.resistor.plug_n.pin.v = smeeM.stator.zeroInductor.plug_p.pin.v ($RES_SIM_925) (392) [SCAL] (1) smeeM.plug_sp.pin[1].v = rotorAngleM.plug_p.pin[1].v ($RES_SIM_570) (393) [FOR-] (3) ($RES_SIM_926) (393) [----] for $i1 in 1:3 loop (393) [----] [SCAL] (1) smeeM.stator.resistor.plug_p.pin[$i1].i - smeeM.stator.plug_p.pin[$i1].i = 0.0 ($RES_SIM_927) (393) [----] end for; (394) [SCAL] (1) smeeM.plug_sp.pin[1].v = terminalBoxM.plug_sp.pin[1].v ($RES_SIM_571) (395) [SCAL] (1) terminalBoxM.plug_sn.pin[3].i + smeeM.plug_sn.pin[3].i + rotorAngleM.plug_n.pin[3].i = 0.0 ($RES_SIM_572) (396) [ARRY] (3) smeeM.stator.plug_p.pin.v = smeeM.stator.resistor.plug_p.pin.v ($RES_SIM_928) (397) [SCAL] (1) terminalBoxM.plug_sn.pin[2].i + smeeM.plug_sn.pin[2].i + rotorAngleM.plug_n.pin[2].i = 0.0 ($RES_SIM_573) (398) [FOR-] (3) ($RES_SIM_929) (398) [----] for $i1 in 1:3 loop (398) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].heatPort.Q_flow - smeeM.stator.resistor.heatPort[$i1].Q_flow = 0.0 ($RES_SIM_930) (398) [----] end for; (399) [SCAL] (1) terminalBoxM.plug_sn.pin[1].i + smeeM.plug_sn.pin[1].i + rotorAngleM.plug_n.pin[1].i = 0.0 ($RES_SIM_574) (400) [SCAL] (1) smeeM.plug_sn.pin[3].v = rotorAngleM.plug_n.pin[3].v ($RES_SIM_575) (401) [SCAL] (1) smeeM.plug_sn.pin[3].v = terminalBoxM.plug_sn.pin[3].v ($RES_SIM_576) (402) [ARRY] (3) rotorAngleM.plug_p.pin.v = rotorAngleM.VoltageSensor1.plug_p.pin.v ($RES_SIM_660) (403) [SCAL] (1) smeeM.plug_sn.pin[2].v = rotorAngleM.plug_n.pin[2].v ($RES_SIM_577) (404) [ARRY] (3) rotorAngleM.VoltageSensor1.voltageSensor.v = rotorAngleM.VoltageSensor1.v ($RES_SIM_661) (405) [SCAL] (1) smeeM.plug_sn.pin[2].v = terminalBoxM.plug_sn.pin[2].v ($RES_SIM_578) (406) [FOR-] (3) ($RES_SIM_662) (406) [----] for $i1 in 1:3 loop (406) [----] [SCAL] (1) rotorAngleM.VoltageSensor1.voltageSensor[$i1].p.i - rotorAngleM.VoltageSensor1.plug_p.pin[$i1].i = 0.0 ($RES_SIM_663) (406) [----] end for; (407) [SCAL] (1) smeeM.plug_sn.pin[1].v = rotorAngleM.plug_n.pin[1].v ($RES_SIM_579) (408) [ARRY] (3) rotorAngleM.VoltageSensor1.voltageSensor.p.v = rotorAngleM.VoltageSensor1.plug_p.pin.v ($RES_SIM_664) (409) [FOR-] (3) ($RES_SIM_665) (409) [----] for $i1 in 1:3 loop (409) [----] [SCAL] (1) rotorAngleM.VoltageSensor1.voltageSensor[$i1].n.i - rotorAngleM.VoltageSensor1.plug_n.pin[$i1].i = 0.0 ($RES_SIM_666) (409) [----] end for; (410) [ARRY] (3) rotorAngleM.VoltageSensor1.voltageSensor.n.v = rotorAngleM.VoltageSensor1.plug_n.pin.v ($RES_SIM_667) (411) [FOR-] (3) ($RES_SIM_753) (411) [----] for $i1 in 1:3 loop (411) [----] [SCAL] (1) smeeE.rs.resistor[$i1].heatPort.Q_flow - smeeE.rs.heatPort[$i1].Q_flow = 0.0 ($RES_SIM_754) (411) [----] end for; (412) [ARRY] (3) smeeE.rs.resistor.heatPort.T = smeeE.rs.heatPort.T ($RES_SIM_755) (413) [FOR-] (3) ($RES_SIM_756) (413) [----] for $i1 in 1:3 loop (413) [----] [SCAL] (1) smeeE.rs.resistor[$i1].n.i - smeeE.rs.plug_n.pin[$i1].i = 0.0 ($RES_SIM_757) (413) [----] end for; (414) [ARRY] (3) smeeE.rs.resistor.n.v = smeeE.rs.plug_n.pin.v ($RES_SIM_758) (415) [FOR-] (2) ($RES_SIM_842) (415) [----] for $i1 in 1:2 loop (415) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.plug_p.pin[$i1].i + smeeM.rotorCage.resistor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_843) (415) [----] end for; (416) [FOR-] (3) ($RES_SIM_759) (416) [----] for $i1 in 1:3 loop (416) [----] [SCAL] (1) smeeE.rs.resistor[$i1].p.i - smeeE.rs.plug_p.pin[$i1].i = 0.0 ($RES_SIM_760) (416) [----] end for; (417) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v = smeeM.rotorCage.resistor.plug_p.pin.v ($RES_SIM_844) (418) [FOR-] (2) ($RES_SIM_845) (418) [----] for $i1 in 1:2 loop (418) [----] [SCAL] (1) smeeM.rotorCage.resistor.heatPort[$i1].Q_flow + smeeM.rotorCage.thermalCollector.port_a[$i1].Q_flow = 0.0 ($RES_SIM_846) (418) [----] end for; (419) [FOR-] (3) ($RES_SIM_490) (419) [----] for $i1 in 1:3 loop (419) [----] [SCAL] (1) smeeM.internalThermalPort.heatPortStatorWinding[$i1].Q_flow = 0.0 ($RES_SIM_491) (419) [----] end for; (420) [ARRY] (2) smeeM.rotorCage.resistor.heatPort.T = smeeM.rotorCage.thermalCollector.port_a.T ($RES_SIM_847) (421) [SCAL] (1) smeeM.thermalAmbient.Q_flowFriction + smeeM.friction.heatPort.Q_flow = 0.0 ($RES_SIM_492) (422) [ARRY] (3) smeeM.stator.resistor.resistor.heatPort.T = smeeM.stator.resistor.heatPort.T ($RES_SIM_931) (423) [SCAL] (1) smeeM.thermalAmbient.Q_flowStrayLoad + smeeM.strayLoad.heatPort.Q_flow = 0.0 ($RES_SIM_493) (424) [FOR-] (3) ($RES_SIM_932) (424) [----] for $i1 in 1:3 loop (424) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].n.i - smeeM.stator.resistor.plug_n.pin[$i1].i = 0.0 ($RES_SIM_933) (424) [----] end for; (425) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[2].i + smeeM.rotorCage.electroMagneticConverter.plug_n.pin[2].i + smeeM.rotorCage.resistor.plug_n.pin[2].i = 0.0 ($RES_SIM_849) (426) [SCAL] (1) smeeM.tauShaft + smeeM.inertiaRotor.flange_b.tau = 0.0 ($RES_SIM_494) (427) [ARRY] (3) smeeM.stator.resistor.resistor.n.v = smeeM.stator.resistor.plug_n.pin.v ($RES_SIM_934) (428) [SCAL] (1) smeeM.rotorCage.port_n.Phi.im + smeeM.airGap.port_rp.Phi.im = 0.0 ($RES_SIM_496) (429) [FOR-] (3) ($RES_SIM_935) (429) [----] for $i1 in 1:3 loop (429) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].p.i - smeeM.stator.resistor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_936) (429) [----] end for; (430) [SCAL] (1) smeeM.plug_sn.pin[1].v = terminalBoxM.plug_sn.pin[1].v ($RES_SIM_580) (431) [SCAL] (1) smeeM.rotorCage.port_n.Phi.re + smeeM.airGap.port_rp.Phi.re = 0.0 ($RES_SIM_497) (432) [SCAL] (1) smeeM.groundS.port_p.Phi.im + smeeM.airGap.port_sp.Phi.im + smeeM.stator.port_n.Phi.im = 0.0 ($RES_SIM_498) (433) [ARRY] (3) smeeM.stator.resistor.resistor.p.v = smeeM.stator.resistor.plug_p.pin.v ($RES_SIM_937) (434) [SCAL] (1) smeeM.groundS.port_p.Phi.re + smeeM.airGap.port_sp.Phi.re + smeeM.stator.port_n.Phi.re = 0.0 ($RES_SIM_499) (435) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.V_m.im = smeeM.stator.electroMagneticConverter.port_n.V_m.im ($RES_SIM_938) (436) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.V_m.re = smeeM.stator.electroMagneticConverter.port_n.V_m.re ($RES_SIM_939) (437) [SCAL] (1) terminalBoxE.plug_sp.pin[3].i + smeeE.plug_sp.pin[3].i + rotorAngleE.plug_p.pin[3].i = 0.0 ($RES_SIM_588) (438) [SCAL] (1) terminalBoxE.plug_sp.pin[2].i + smeeE.plug_sp.pin[2].i + rotorAngleE.plug_p.pin[2].i = 0.0 ($RES_SIM_589) (439) [SCAL] (1) (smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[3].Q_flow + smeeE.rs.heatPort[3].Q_flow) - smeeE.internalThermalPort.heatPortStatorWinding[3].Q_flow = 0.0 ($RES_SIM_674) (440) [SCAL] (1) (smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[2].Q_flow + smeeE.rs.heatPort[2].Q_flow) - smeeE.internalThermalPort.heatPortStatorWinding[2].Q_flow = 0.0 ($RES_SIM_675) (441) [SCAL] (1) (smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[1].Q_flow + smeeE.rs.heatPort[1].Q_flow) - smeeE.internalThermalPort.heatPortStatorWinding[1].Q_flow = 0.0 ($RES_SIM_676) (442) [SCAL] (1) smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[3].T = smeeE.rs.heatPort[3].T ($RES_SIM_677) (443) [ARRY] (3) smeeE.rs.resistor.p.v = smeeE.rs.plug_p.pin.v ($RES_SIM_761) (444) [SCAL] (1) smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[3].T = smeeE.internalThermalPort.heatPortStatorWinding[3].T ($RES_SIM_678) (445) [SCAL] (1) smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[2].T = smeeE.rs.heatPort[2].T ($RES_SIM_679) (446) [SCAL] (1) (smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[3].Q_flow + smeeM.stator.heatPortWinding[3].Q_flow) - smeeM.internalThermalPort.heatPortStatorWinding[3].Q_flow = 0.0 ($RES_SIM_765) (447) [SCAL] (1) (smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[2].Q_flow + smeeM.stator.heatPortWinding[2].Q_flow) - smeeM.internalThermalPort.heatPortStatorWinding[2].Q_flow = 0.0 ($RES_SIM_766) (448) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[1].i + smeeM.rotorCage.electroMagneticConverter.plug_n.pin[1].i + smeeM.rotorCage.resistor.plug_n.pin[1].i = 0.0 ($RES_SIM_850) (449) [SCAL] (1) (smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[1].Q_flow + smeeM.stator.heatPortWinding[1].Q_flow) - smeeM.internalThermalPort.heatPortStatorWinding[1].Q_flow = 0.0 ($RES_SIM_767) (450) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[2].v = smeeM.rotorCage.resistor.plug_n.pin[2].v ($RES_SIM_851) (451) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[3].T = smeeM.stator.heatPortWinding[3].T ($RES_SIM_768) (452) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[2].v = smeeM.rotorCage.electroMagneticConverter.plug_n.pin[2].v ($RES_SIM_852) (453) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[3].T = smeeM.internalThermalPort.heatPortStatorWinding[3].T ($RES_SIM_769) (454) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[1].v = smeeM.rotorCage.resistor.plug_n.pin[1].v ($RES_SIM_853) (455) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[1].v = smeeM.rotorCage.electroMagneticConverter.plug_n.pin[1].v ($RES_SIM_854) (456) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_n.V_m.im = smeeM.rotorCage.electroMagneticConverter.port_n.V_m.im ($RES_SIM_856) (457) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.im = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.V_m.im ($RES_SIM_940) (458) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_n.V_m.im = smeeM.rotorCage.port_n.V_m.im ($RES_SIM_857) (459) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.re = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.V_m.re ($RES_SIM_941) (460) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_n.V_m.re = smeeM.rotorCage.electroMagneticConverter.port_n.V_m.re ($RES_SIM_858) (461) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.im = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.im ($RES_SIM_942) (462) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_n.V_m.re = smeeM.rotorCage.port_n.V_m.re ($RES_SIM_859) (463) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.re = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.re ($RES_SIM_943) (464) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.im = smeeM.stator.electroMagneticConverter.port_p.V_m.im ($RES_SIM_944) (465) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.re = smeeM.stator.electroMagneticConverter.port_p.V_m.re ($RES_SIM_945) (466) [SCAL] (1) terminalBoxE.plug_sp.pin[1].i + smeeE.plug_sp.pin[1].i + rotorAngleE.plug_p.pin[1].i = 0.0 ($RES_SIM_590) (467) [FOR-] (3) ($RES_SIM_946) (467) [----] for $i1 in 1:3 loop (467) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i - smeeM.stator.electroMagneticConverter.plug_n.pin[$i1].i = 0.0 ($RES_SIM_947) (467) [----] end for; (468) [SCAL] (1) smeeE.plug_sp.pin[3].v = rotorAngleE.plug_p.pin[3].v ($RES_SIM_591) (469) [SCAL] (1) smeeE.plug_sp.pin[3].v = terminalBoxE.plug_sp.pin[3].v ($RES_SIM_592) (470) [ARRY] (3) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v = smeeM.stator.electroMagneticConverter.plug_n.pin.v ($RES_SIM_948) (471) [SCAL] (1) smeeE.plug_sp.pin[2].v = rotorAngleE.plug_p.pin[2].v ($RES_SIM_593) (472) [FOR-] (3) ($RES_SIM_949) (472) [----] for $i1 in 1:3 loop (472) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i - smeeM.stator.electroMagneticConverter.plug_p.pin[$i1].i = 0.0 ($RES_SIM_950) (472) [----] end for; (473) [SCAL] (1) smeeE.plug_sp.pin[2].v = terminalBoxE.plug_sp.pin[2].v ($RES_SIM_594) (474) [SCAL] (1) smeeE.plug_sp.pin[1].v = rotorAngleE.plug_p.pin[1].v ($RES_SIM_595) (475) [SCAL] (1) smeeE.plug_sp.pin[1].v = terminalBoxE.plug_sp.pin[1].v ($RES_SIM_596) (476) [SCAL] (1) smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[2].T = smeeE.internalThermalPort.heatPortStatorWinding[2].T ($RES_SIM_680) (477) [SCAL] (1) terminalBoxE.plug_sn.pin[3].i + smeeE.plug_sn.pin[3].i + rotorAngleE.plug_n.pin[3].i = 0.0 ($RES_SIM_597) (478) [SCAL] (1) smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[1].T = smeeE.rs.heatPort[1].T ($RES_SIM_681) (479) [SCAL] (1) terminalBoxE.plug_sn.pin[2].i + smeeE.plug_sn.pin[2].i + rotorAngleE.plug_n.pin[2].i = 0.0 ($RES_SIM_598) (480) [SCAL] (1) smeeE.thermalAmbient.thermalPort.heatPortStatorWinding[1].T = smeeE.internalThermalPort.heatPortStatorWinding[1].T ($RES_SIM_682) (481) [SCAL] (1) terminalBoxE.plug_sn.pin[1].i + smeeE.plug_sn.pin[1].i + rotorAngleE.plug_n.pin[1].i = 0.0 ($RES_SIM_599) (482) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[2].T = smeeM.stator.heatPortWinding[2].T ($RES_SIM_770) (483) [SCAL] (1) smeeE.statorCore.spacePhasor.i_[2] + smeeE.lssigma.spacePhasor_a.i_[2] + smeeE.spacePhasorS.spacePhasor.i_[2] = 0.0 ($RES_SIM_687) (484) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[2].T = smeeM.internalThermalPort.heatPortStatorWinding[2].T ($RES_SIM_771) (485) [SCAL] (1) smeeE.statorCore.spacePhasor.i_[1] + smeeE.lssigma.spacePhasor_a.i_[1] + smeeE.spacePhasorS.spacePhasor.i_[1] = 0.0 ($RES_SIM_688) (486) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[1].T = smeeM.stator.heatPortWinding[1].T ($RES_SIM_772) (487) [SCAL] (1) smeeE.statorCore.spacePhasor.v_[2] = smeeE.spacePhasorS.spacePhasor.v_[2] ($RES_SIM_689) (488) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[1].T = smeeM.internalThermalPort.heatPortStatorWinding[1].T ($RES_SIM_773) (489) [SCAL] (1) smeeM.stator.port_p.V_m.im = smeeM.airGap.port_sn.V_m.im ($RES_SIM_774) (490) [SCAL] (1) smeeM.stator.port_p.V_m.re = smeeM.airGap.port_sn.V_m.re ($RES_SIM_775) (491) [SCAL] (1) smeeM.stator.port_n.V_m.im = smeeM.groundS.port_p.V_m.im ($RES_SIM_776) (492) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.V_m.im = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.im ($RES_SIM_860) (493) [SCAL] (1) smeeM.stator.port_n.V_m.im = smeeM.airGap.port_sp.V_m.im ($RES_SIM_777) (494) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.V_m.im = smeeM.rotorCage.port_p.V_m.im ($RES_SIM_861) (495) [SCAL] (1) smeeM.stator.port_n.V_m.re = smeeM.groundS.port_p.V_m.re ($RES_SIM_778) (496) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.V_m.re = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.re ($RES_SIM_862) (497) [SCAL] (1) smeeM.stator.port_n.V_m.re = smeeM.airGap.port_sp.V_m.re ($RES_SIM_779) (498) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.V_m.re = smeeM.rotorCage.port_p.V_m.re ($RES_SIM_863) (499) [SCAL] (1) smeeE.powerBalance.lossPowerTotal = smeeE.powerBalance.lossPowerExcitation + smeeE.powerBalance.lossPowerFriction + smeeE.powerBalance.lossPowerRotorCore + smeeE.powerBalance.lossPowerStatorWinding + smeeE.powerBalance.lossPowerStatorCore + smeeE.powerBalance.lossPowerStrayLoad + smeeE.powerBalance.lossPowerRotorWinding + smeeE.powerBalance.lossPowerBrush ($RES_BND_1099) (500) [FOR-] (2) ($RES_SIM_864) (500) [----] for $i1 in 1:2 loop (500) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].heatPort.Q_flow - smeeM.rotorCage.resistor.heatPort[$i1].Q_flow = 0.0 ($RES_SIM_865) (500) [----] end for; (501) [SCAL] (1) smeeE.powerBalance.lossPowerStatorWinding = $FUN_36 ($RES_BND_1098) (502) [SCAL] (1) smeeE.powerBalance.lossPowerStatorCore = -smeeE.statorCore.heatPort.Q_flow ($RES_BND_1097) (503) [ARRY] (2) smeeM.rotorCage.resistor.resistor.heatPort.T = smeeM.rotorCage.resistor.heatPort.T ($RES_SIM_866) (504) [SCAL] (1) smeeE.powerBalance.lossPowerRotorCore = 0.0 ($RES_BND_1096) (505) [FOR-] (2) ($RES_SIM_867) (505) [----] for $i1 in 1:2 loop (505) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].n.i - smeeM.rotorCage.resistor.plug_n.pin[$i1].i = 0.0 ($RES_SIM_868) (505) [----] end for; (506) [SCAL] (1) smeeE.powerBalance.lossPowerStrayLoad = -smeeE.strayLoad.heatPort.Q_flow ($RES_BND_1095) (507) [ARRY] (3) smeeM.stator.electroMagneticConverter.plug_p.pin.v = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v ($RES_SIM_951) (508) [SCAL] (1) smeeE.powerBalance.lossPowerFriction = -smeeE.friction.heatPort.Q_flow ($RES_BND_1094) (509) [ARRY] (2) smeeM.rotorCage.resistor.resistor.n.v = smeeM.rotorCage.resistor.plug_n.pin.v ($RES_SIM_869) (510) [SCAL] (1) smeeE.powerBalance.lossPowerRotorWinding = -smeeE.damperCage.heatPort.Q_flow ($RES_BND_1093) (511) [FOR-] (3) ($RES_SIM_953) (511) [----] for $i1 in 1:3 loop (511) [----] [SCAL] (1) -(terminalBoxE.plug_sp.pin[$i1].i + terminalBoxE.plugSupply.pin[$i1].i) = 0.0 ($RES_SIM_954) (511) [----] end for; (512) [SCAL] (1) smeeE.powerBalance.powerExcitation = smeeE.ve * smeeE.ie ($RES_BND_1092) (513) [SCAL] (1) smeeE.powerBalance.lossPowerExcitation = -smeeE.re.heatPort.Q_flow ($RES_BND_1091) (514) [ARRY] (3) terminalBoxE.plug_sp.pin.v = terminalBoxE.plugSupply.pin.v ($RES_SIM_955) (515) [SCAL] (1) smeeE.powerBalance.lossPowerBrush = -smeeE.brush.heatPort.Q_flow ($RES_BND_1090) (516) [FOR-] (3) ($RES_SIM_956) (516) [----] for $i1 in 1:3 loop (516) [----] [SCAL] (1) terminalBoxE.star.plug_p.pin[$i1].i - terminalBoxE.plug_sn.pin[$i1].i = 0.0 ($RES_SIM_957) (516) [----] end for; (517) [ARRY] (3) terminalBoxE.plug_sn.pin.v = terminalBoxE.star.plug_p.pin.v ($RES_SIM_958) (518) [SCAL] (1) smeeE.statorCore.spacePhasor.v_[2] = smeeE.lssigma.spacePhasor_a.v_[2] ($RES_SIM_690) (519) [SCAL] (1) smeeE.statorCore.spacePhasor.v_[1] = smeeE.spacePhasorS.spacePhasor.v_[1] ($RES_SIM_691) (520) [SCAL] (1) smeeE.statorCore.spacePhasor.v_[1] = smeeE.lssigma.spacePhasor_a.v_[1] ($RES_SIM_692) (521) [FOR-] (3) ($RES_SIM_695) (521) [----] for $i1 in 1:3 loop (521) [----] [SCAL] (1) smeeE.spacePhasorS.plug_p.pin[$i1].i + smeeE.rs.plug_n.pin[$i1].i = 0.0 ($RES_SIM_696) (521) [----] end for; (522) [ARRY] (3) smeeE.spacePhasorS.plug_p.pin.v = smeeE.rs.plug_n.pin.v ($RES_SIM_697) (523) [FOR-] (3) ($RES_SIM_698) (523) [----] for $i1 in 1:3 loop (523) [----] [SCAL] (1) smeeE.strayLoad.plug_p.pin[$i1].i - smeeE.plug_sp.pin[$i1].i = 0.0 ($RES_SIM_699) (523) [----] end for; (524) [FOR-] (2) ($RES_SIM_870) (524) [----] for $i1 in 1:2 loop (524) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].p.i - smeeM.rotorCage.resistor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_871) (524) [----] end for; (525) [FOR-] (3) ($RES_SIM_787) (525) [----] for $i1 in 1:3 loop (525) [----] [SCAL] (1) smeeM.strayLoad.plug_p.pin[$i1].i - smeeM.plug_sp.pin[$i1].i = 0.0 ($RES_SIM_788) (525) [----] end for; (526) [ARRY] (2) smeeM.rotorCage.resistor.resistor.p.v = smeeM.rotorCage.resistor.plug_p.pin.v ($RES_SIM_872) (527) [ARRY] (3) smeeM.plug_sp.pin.v = smeeM.strayLoad.plug_p.pin.v ($RES_SIM_789) (528) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.im = smeeM.rotorCage.electroMagneticConverter.port_n.V_m.im ($RES_SIM_873) (529) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.re = smeeM.rotorCage.electroMagneticConverter.port_n.V_m.re ($RES_SIM_874) (530) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.im = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.im ($RES_SIM_875) (531) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.re = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.re ($RES_SIM_876) (532) [SCAL] (1) smeeE.wMechanical = $DER.smeeE.phiMechanical ($RES_BND_1086) (533) [FOR-] (3) ($RES_SIM_960) (533) [----] for $i1 in 1:3 loop (533) [----] [SCAL] (1) -(terminalBoxM.plug_sp.pin[$i1].i + terminalBoxM.plugSupply.pin[$i1].i) = 0.0 ($RES_SIM_961) (533) [----] end for; (534) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.im = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.im ($RES_SIM_877) (535) [SCAL] (1) smeeE.phiMechanical = constantSpeedE.flange.phi - smeeE.fixed.phi0 ($RES_BND_1085) (536) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.re = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.re ($RES_SIM_878) (537) [ARRY] (3) terminalBoxM.plug_sp.pin.v = terminalBoxM.plugSupply.pin.v ($RES_SIM_962) (538) [FOR-] (2) ($RES_SIM_879) (538) [----] for $i1 in 1:2 loop (538) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i - smeeM.rotorCage.electroMagneticConverter.plug_n.pin[$i1].i = 0.0 ($RES_SIM_880) (538) [----] end for; (539) [SCAL] (1) smeeM.excitation.reluctance.arg_Phi = Modelica.Math.atan3(smeeM.excitation.reluctance.Phi.im, smeeM.excitation.reluctance.Phi.re, 0.0) ($RES_BND_1083) (540) [FOR-] (3) ($RES_SIM_963) (540) [----] for $i1 in 1:3 loop (540) [----] [SCAL] (1) terminalBoxM.star.plug_p.pin[$i1].i - terminalBoxM.plug_sn.pin[$i1].i = 0.0 ($RES_SIM_964) (540) [----] end for; (541) [SCAL] (1) smeeM.excitation.reluctance.abs_Phi = (smeeM.excitation.reluctance.Phi.re ^ 2.0 + smeeM.excitation.reluctance.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1082) (542) [SCAL] (1) smeeM.excitation.reluctance.arg_V_m = Modelica.Math.atan3(smeeM.excitation.reluctance.V_m.im, smeeM.excitation.reluctance.V_m.re, 0.0) ($RES_BND_1081) (543) [ARRY] (3) terminalBoxM.plug_sn.pin.v = terminalBoxM.star.plug_p.pin.v ($RES_SIM_965) (544) [SCAL] (1) smeeM.excitation.reluctance.abs_V_m = (smeeM.excitation.reluctance.V_m.re ^ 2.0 + smeeM.excitation.reluctance.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1080) (545) [FOR-] (3) ($RES_SIM_966) (545) [----] for $i1 in 1:3 loop (545) [----] [SCAL] (1) sineVoltage.sineVoltage[$i1].n.i - sineVoltage.plug_n.pin[$i1].i = 0.0 ($RES_SIM_967) (545) [----] end for; (546) [ARRY] (3) sineVoltage.sineVoltage.n.v = sineVoltage.plug_n.pin.v ($RES_SIM_968) (547) [FOR-] (3) ($RES_SIM_969) (547) [----] for $i1 in 1:3 loop (547) [----] [SCAL] (1) sineVoltage.sineVoltage[$i1].p.i - sineVoltage.plug_p.pin[$i1].i = 0.0 ($RES_SIM_970) (547) [----] end for; (548) [FOR-] (3) ($RES_SIM_790) (548) [----] for $i1 in 1:3 loop (548) [----] [SCAL] (1) smeeM.stator.plug_p.pin[$i1].i + smeeM.strayLoad.plug_n.pin[$i1].i = 0.0 ($RES_SIM_791) (548) [----] end for; (549) [ARRY] (3) smeeM.stator.plug_p.pin.v = smeeM.strayLoad.plug_n.pin.v ($RES_SIM_792) (550) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v = smeeM.rotorCage.electroMagneticConverter.plug_n.pin.v ($RES_SIM_881) (551) [FOR-] (2) ($RES_SIM_882) (551) [----] for $i1 in 1:2 loop (551) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i - smeeM.rotorCage.electroMagneticConverter.plug_p.pin[$i1].i = 0.0 ($RES_SIM_883) (551) [----] end for; (552) [FOR-] (3) ($RES_SIM_799) (552) [----] for $i1 in 1:3 loop (552) [----] [SCAL] (1) smeeM.stator.plug_n.pin[$i1].i - smeeM.plug_sn.pin[$i1].i = 0.0 ($RES_SIM_800) (552) [----] end for; (553) [SCAL] (1) smeeM.excitation.electroMagneticConverter.arg_Phi = Modelica.Math.atan3(smeeM.excitation.electroMagneticConverter.Phi.im, smeeM.excitation.electroMagneticConverter.Phi.re, 0.0) ($RES_BND_1079) (554) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v ($RES_SIM_884) (555) [SCAL] (1) smeeM.excitation.electroMagneticConverter.abs_Phi = (smeeM.excitation.electroMagneticConverter.Phi.re ^ 2.0 + smeeM.excitation.electroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1078) (556) [SCAL] (1) smeeM.excitation.electroMagneticConverter.arg_V_m = Modelica.Math.atan3(smeeM.excitation.electroMagneticConverter.V_m.im, smeeM.excitation.electroMagneticConverter.V_m.re, 0.0) ($RES_BND_1077) (557) [SCAL] (1) smeeM.excitation.electroMagneticConverter.abs_V_m = (smeeM.excitation.electroMagneticConverter.V_m.re ^ 2.0 + smeeM.excitation.electroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1076) (558) [FOR-] (3) ($RES_SIM_887) (558) [----] for $i1 in 1:3 loop (558) [----] [SCAL] (1) smeeM.thermalAmbient.thermalCollectorStator.port_a[$i1].Q_flow - smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[$i1].Q_flow = 0.0 ($RES_SIM_888) (558) [----] end for; (559) [ARRY] (3) sineVoltage.sineVoltage.p.v = sineVoltage.plug_p.pin.v ($RES_SIM_971) (560) [ARRY] (3) smeeM.thermalAmbient.thermalCollectorStator.port_a.T = smeeM.thermalAmbient.thermalPort.heatPortStatorWinding.T ($RES_SIM_889) (561) [SCAL] (1) smeeM.excitation.arg_Phi = Modelica.Math.atan3(smeeM.excitation.Phi.im, smeeM.excitation.Phi.re, 0.0) ($RES_BND_1073) (562) [SCAL] (1) smeeM.excitation.abs_Phi = (smeeM.excitation.Phi.re ^ 2.0 + smeeM.excitation.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1072) (563) [SCAL] (1) smeeM.excitation.arg_V_m = Modelica.Math.atan3(smeeM.excitation.V_m.im, smeeM.excitation.V_m.re, 0.0) ($RES_BND_1071) (564) [SCAL] (1) smeeM.excitation.abs_V_m = (smeeM.excitation.V_m.re ^ 2.0 + smeeM.excitation.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1070) (565) [SCAL] (1) smeeM.excitation.v = smeeM.brush.n.v ($RES_BND_1068) (566) [SCAL] (1) smeeM.rotorCage.strayReluctance.arg_Phi = Modelica.Math.atan3(smeeM.rotorCage.strayReluctance.Phi.im, smeeM.rotorCage.strayReluctance.Phi.re, 0.0) ($RES_BND_1067) (567) [RECD] (2) smeeM.excitation.Phi = smeeM.excitation.port_p.Phi ($RES_BND_1150) (568) [SCAL] (1) smeeM.rotorCage.strayReluctance.abs_Phi = (smeeM.rotorCage.strayReluctance.Phi.re ^ 2.0 + smeeM.rotorCage.strayReluctance.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1066) (569) [SCAL] (1) smeeM.rotorCage.strayReluctance.arg_V_m = Modelica.Math.atan3(smeeM.rotorCage.strayReluctance.V_m.im, smeeM.rotorCage.strayReluctance.V_m.re, 0.0) ($RES_BND_1065) (570) [SCAL] (1) smeeM.rotorCage.strayReluctance.abs_V_m = (smeeM.rotorCage.strayReluctance.V_m.re ^ 2.0 + smeeM.rotorCage.strayReluctance.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1064) (571) [FOR-] (3) ($RES_SIM_899) (571) [----] for $i1 in 1:3 loop (571) [----] [SCAL] (1) smeeM.stator.zeroInductor.plug_n.pin[$i1].i + smeeM.stator.electroMagneticConverter.plug_p.pin[$i1].i = 0.0 ($RES_SIM_900) (571) [----] end for; (572) [FOR-] (2) ($RES_BND_1062) (572) [----] for $i1 in 1:2 loop (572) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].heatPort.T = smeeM.rotorCage.resistor.resistor[$i1].T_heatPort ($RES_BND_1063) (572) [----] end for; (573) [FOR-] (2) ($RES_BND_1060) (573) [----] for $i1 in 1:2 loop (573) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].heatPort.Q_flow = -smeeM.rotorCage.resistor.resistor[$i1].LossPower ($RES_BND_1061) (573) [----] end for; (574) [RECD] (2) smeeM.rotorCage.electroMagneticConverter.Phi = smeeM.rotorCage.electroMagneticConverter.port_p.Phi ($RES_BND_1148) (575) [RECD] (2) smeeM.rotorCage.Phi = smeeM.rotorCage.port_p.Phi ($RES_BND_1146) (576) [RECD] (2) smeeM.stator.electroMagneticConverter.Phi = smeeM.stator.electroMagneticConverter.port_p.Phi ($RES_BND_1144) (577) [RECD] (2) smeeM.stator.Phi = smeeM.stator.port_p.Phi ($RES_BND_1142) (578) [FOR-] (2) ($RES_BND_1058) (578) [----] for $i1 in 1:2 loop (578) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].abs_V_m = (smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re ^ 2.0 + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1059) (578) [----] end for; (579) [FOR-] (2) ($RES_BND_1056) (579) [----] for $i1 in 1:2 loop (579) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].arg_V_m = Modelica.Math.atan3(smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im, smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re, 0.0) ($RES_BND_1057) (579) [----] end for; (580) [SCAL] (1) smeeM.stator.core.V_m.re = smeeM.stator.core.port_p.V_m.re - smeeM.stator.core.port_n.V_m.re ($RES_SIM_1199) (581) [FOR-] (2) ($RES_BND_1054) (581) [----] for $i1 in 1:2 loop (581) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].abs_Phi = (smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re ^ 2.0 + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1055) (581) [----] end for; (582) [FOR-] (3) ($RES_SIM_1197) (582) [----] for $i1 in 1:3 loop (582) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.im = 0.6366197723675814 * smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.im * smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i ($RES_SIM_1198) (582) [----] end for; (583) [FOR-] (2) ($RES_BND_1052) (583) [----] for $i1 in 1:2 loop (583) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].arg_Phi = Modelica.Math.atan3(smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im, smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re, 0.0) ($RES_BND_1053) (583) [----] end for; (584) [FOR-] (3) ($RES_SIM_1195) (584) [----] for $i1 in 1:3 loop (584) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.re = 0.6366197723675814 * smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.re * smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i ($RES_SIM_1196) (584) [----] end for; (585) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.arg_Phi = Modelica.Math.atan3(smeeM.rotorCage.electroMagneticConverter.Phi.im, smeeM.rotorCage.electroMagneticConverter.Phi.re, 0.0) ($RES_BND_1051) (586) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.abs_Phi = (smeeM.rotorCage.electroMagneticConverter.Phi.re ^ 2.0 + smeeM.rotorCage.electroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1050) (587) [FOR-] (3) ($RES_SIM_1193) (587) [----] for $i1 in 1:3 loop (587) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im - smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.im ($RES_SIM_1194) (587) [----] end for; (588) [FOR-] (3) ($RES_SIM_1191) (588) [----] for $i1 in 1:3 loop (588) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re - smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.re ($RES_SIM_1192) (588) [----] end for; (589) [ARRY] (4) rotorAngleE.rotatorVS2R.RotationMatrix = {{$FUN_30, -$FUN_31}, {$FUN_31, $FUN_30}} ($RES_BND_1138) (590) [ARRY] (4) rotorAngleM.rotatorVS2R.RotationMatrix = {{$FUN_32, -$FUN_33}, {$FUN_33, $FUN_32}} ($RES_BND_1137) (591) [ARRY] (2) smeeE.damperCage.i = -smeeE.damperCage.spacePhasor_r.i_ ($RES_BND_1132) (592) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.arg_V_m = Modelica.Math.atan3(smeeM.rotorCage.electroMagneticConverter.V_m.im, smeeM.rotorCage.electroMagneticConverter.V_m.re, 0.0) ($RES_BND_1049) (593) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.abs_V_m = (smeeM.rotorCage.electroMagneticConverter.V_m.re ^ 2.0 + smeeM.rotorCage.electroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1048) (594) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.i = smeeM.rotorCage.electroMagneticConverter.plug_p.pin.i ($RES_BND_1047) (595) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.v = smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v - smeeM.rotorCage.electroMagneticConverter.plug_n.pin.v ($RES_BND_1046) (596) [FOR-] (3) ($RES_SIM_1189) (596) [----] for $i1 in 1:3 loop (596) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_1190) (596) [----] end for; (597) [FOR-] (3) ($RES_SIM_1187) (597) [----] for $i1 in 1:3 loop (597) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_1188) (597) [----] end for; (598) [ARRY] (2) smeeM.rotorCage.i = smeeM.rotorCage.electroMagneticConverter.i ($RES_BND_1043) (599) [SCAL] (1) smeeM.rotorCage.arg_Phi = Modelica.Math.atan3(smeeM.rotorCage.Phi.im, smeeM.rotorCage.Phi.re, 0.0) ($RES_BND_1042) (600) [SCAL] (1) smeeM.rotorCage.abs_Phi = (smeeM.rotorCage.Phi.re ^ 2.0 + smeeM.rotorCage.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1041) (601) [SCAL] (1) smeeM.rotorCage.arg_V_m = Modelica.Math.atan3(smeeM.rotorCage.V_m.im, smeeM.rotorCage.V_m.re, 0.0) ($RES_BND_1040) (602) [SCAL] (1) smeeE.ve = rampCurrentE.n.v ($RES_BND_1128) (603) [SCAL] (1) smeeE.thermalAmbient.Q_flowTotal = smeeE.thermalAmbient.Q_flowStrayLoad + smeeE.thermalAmbient.Q_flowStatorCore + smeeE.thermalAmbient.Q_flowRotorWinding + smeeE.thermalAmbient.Q_flowStatorWinding + smeeE.thermalAmbient.Q_flowExcitation + smeeE.thermalAmbient.Q_flowFriction ($RES_BND_1127) (604) [SCAL] (1) smeeM.rotorCage.abs_V_m = (smeeM.rotorCage.V_m.re ^ 2.0 + smeeM.rotorCage.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1039) (605) [SCAL] (1) smeeM.ve = rampCurrentM.n.v ($RES_BND_1037) (606) [SCAL] (1) smeeM.strayLoad.iRMS = sqrt(sum(0.3333333333333333 .* smeeM.strayLoad.i .^ 2.0)) ($RES_BND_1035) (607) [SCAL] (1) smeeM.stator.V_m.im = smeeM.stator.port_p.V_m.im - smeeM.stator.port_n.V_m.im ($RES_SIM_1260) (608) [SCAL] (1) smeeM.thermalAmbient.Q_flowTotal = smeeM.thermalAmbient.Q_flowStrayLoad + smeeM.thermalAmbient.Q_flowStatorCore + smeeM.thermalAmbient.Q_flowRotorWinding + smeeM.thermalAmbient.Q_flowStatorWinding + smeeM.thermalAmbient.Q_flowExcitation + smeeM.thermalAmbient.Q_flowFriction ($RES_BND_1033) (609) [SCAL] (1) smeeE.strayLoad.iRMS = sqrt(sum(0.3333333333333333 .* smeeE.strayLoad.i .^ 2.0)) ($RES_BND_1119) (610) [SCAL] (1) smeeM.stator.V_m.re = smeeM.stator.port_p.V_m.re - smeeM.stator.port_n.V_m.re ($RES_SIM_1259) (611) [SCAL] (1) smeeM.stator.electroMagneticConverter.V_m.im = smeeM.stator.electroMagneticConverter.port_p.V_m.im - smeeM.stator.electroMagneticConverter.port_n.V_m.im ($RES_SIM_1258) (612) [SCAL] (1) smeeM.stator.electroMagneticConverter.V_m.re = smeeM.stator.electroMagneticConverter.port_p.V_m.re - smeeM.stator.electroMagneticConverter.port_n.V_m.re ($RES_SIM_1257) (613) [FOR-] (3) ($RES_BND_1113) (613) [----] for $i1 in 1:3 loop (613) [----] [SCAL] (1) smeeE.rs.resistor[$i1].heatPort.T = smeeE.rs.resistor[$i1].T_heatPort ($RES_BND_1114) (613) [----] end for; (614) [SCAL] (1) smeeM.rotorCage.V_m.im = smeeM.rotorCage.port_p.V_m.im - smeeM.rotorCage.port_n.V_m.im ($RES_SIM_1256) (615) [SCAL] (1) smeeM.rotorCage.V_m.re = smeeM.rotorCage.port_p.V_m.re - smeeM.rotorCage.port_n.V_m.re ($RES_SIM_1255) (616) [FOR-] (3) ($RES_BND_1111) (616) [----] for $i1 in 1:3 loop (616) [----] [SCAL] (1) smeeE.rs.resistor[$i1].heatPort.Q_flow = -smeeE.rs.resistor[$i1].LossPower ($RES_BND_1112) (616) [----] end for; (617) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.V_m.im = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.im - smeeM.rotorCage.electroMagneticConverter.port_n.V_m.im ($RES_SIM_1254) (618) [ARRY] (2) smeeE.idq_rr = smeeE.airGapR.i_rr ($RES_BND_1110) (619) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.V_m.re = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.re - smeeM.rotorCage.electroMagneticConverter.port_n.V_m.re ($RES_SIM_1253) (620) [SCAL] (1) smeeM.excitation.V_m.im = smeeM.excitation.port_p.V_m.im - smeeM.excitation.port_n.V_m.im ($RES_SIM_1252) (621) [SCAL] (1) smeeM.stator.strayReluctance.arg_Phi = Modelica.Math.atan3(smeeM.stator.strayReluctance.Phi.im, smeeM.stator.strayReluctance.Phi.re, 0.0) ($RES_BND_1025) (622) [SCAL] (1) smeeM.excitation.V_m.re = smeeM.excitation.port_p.V_m.re - smeeM.excitation.port_n.V_m.re ($RES_SIM_1251) (623) [SCAL] (1) smeeM.stator.strayReluctance.abs_Phi = (smeeM.stator.strayReluctance.Phi.re ^ 2.0 + smeeM.stator.strayReluctance.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1024) (624) [SCAL] (1) smeeM.excitation.reluctance.port_p.Phi.im + smeeM.excitation.reluctance.port_n.Phi.im = 0.0 ($RES_SIM_1250) (625) [SCAL] (1) smeeM.stator.strayReluctance.arg_V_m = Modelica.Math.atan3(smeeM.stator.strayReluctance.V_m.im, smeeM.stator.strayReluctance.V_m.re, 0.0) ($RES_BND_1023) (626) [SCAL] (1) smeeM.stator.strayReluctance.abs_V_m = (smeeM.stator.strayReluctance.V_m.re ^ 2.0 + smeeM.stator.strayReluctance.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1022) (627) [ARRY] (2) smeeE.idq_rs = smeeE.airGapR.i_rs ($RES_BND_1109) (628) [ARRY] (2) smeeE.idq_sr = smeeE.airGapR.i_sr ($RES_BND_1108) (629) [ARRY] (2) smeeE.idq_ss = smeeE.airGapR.i_ss ($RES_BND_1107) (630) [SCAL] (1) smeeM.excitation.reluctance.port_p.Phi.re + smeeM.excitation.reluctance.port_n.Phi.re = 0.0 ($RES_SIM_1249) (631) [ARRY] (3) smeeE.is = smeeE.plug_sp.pin.i ($RES_BND_1105) (632) [SCAL] (1) smeeM.excitation.reluctance.V_m.im = smeeM.excitation.reluctance.port_p.V_m.im - smeeM.excitation.reluctance.port_n.V_m.im ($RES_SIM_1248) (633) [ARRY] (3) smeeE.vs = smeeE.plug_sp.pin.v - smeeE.plug_sn.pin.v ($RES_BND_1104) (634) [SCAL] (1) smeeM.excitation.reluctance.V_m.re = smeeM.excitation.reluctance.port_p.V_m.re - smeeM.excitation.reluctance.port_n.V_m.re ($RES_SIM_1247) (635) [SCAL] (1) smeeE.powerBalance.powerStator = $FUN_35 ($RES_BND_1103) (636) [SCAL] (1) smeeM.excitation.electroMagneticConverter.V_m.im = 0.6366197723675814 * smeeM.excitation.electroMagneticConverter.N.im * smeeM.ie ($RES_SIM_1246) (637) [SCAL] (1) smeeE.powerBalance.powerMechanical = smeeE.wMechanical * smeeE.tauShaft ($RES_BND_1102) (638) [SCAL] (1) smeeM.stator.core.arg_Phi = Modelica.Math.atan3(smeeM.stator.core.Phi.im, smeeM.stator.core.Phi.re, 0.0) ($RES_BND_1019) (639) [SCAL] (1) smeeM.excitation.electroMagneticConverter.V_m.re = 0.6366197723675814 * smeeM.excitation.electroMagneticConverter.N.re * smeeM.ie ($RES_SIM_1245) (640) [SCAL] (1) smeeE.powerBalance.powerInertiaStator = smeeE.inertiaStator.a * smeeE.inertiaStator.J * smeeE.inertiaStator.w ($RES_BND_1101) (641) [SCAL] (1) smeeM.stator.core.abs_Phi = (smeeM.stator.core.Phi.re ^ 2.0 + smeeM.stator.core.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1018) (642) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.im - smeeM.excitation.electroMagneticConverter.port_n.V_m.im = smeeM.excitation.electroMagneticConverter.V_m.im ($RES_SIM_1244) (643) [SCAL] (1) smeeE.powerBalance.powerInertiaRotor = smeeE.inertiaRotor.a * smeeE.inertiaRotor.J * smeeE.inertiaRotor.w ($RES_BND_1100) (644) [SCAL] (1) smeeM.stator.core.arg_V_m = Modelica.Math.atan3(smeeM.stator.core.V_m.im, smeeM.stator.core.V_m.re, 0.0) ($RES_BND_1017) (645) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.re - smeeM.excitation.electroMagneticConverter.port_n.V_m.re = smeeM.excitation.electroMagneticConverter.V_m.re ($RES_SIM_1243) (646) [SCAL] (1) smeeM.stator.core.abs_V_m = (smeeM.stator.core.V_m.re ^ 2.0 + smeeM.stator.core.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1016) (647) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.Phi.im + smeeM.excitation.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_1242) (648) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.Phi.re + smeeM.excitation.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_1241) (649) [FOR-] (3) ($RES_BND_1014) (649) [----] for $i1 in 1:3 loop (649) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].heatPort.T = smeeM.stator.resistor.resistor[$i1].T_heatPort ($RES_BND_1015) (649) [----] end for; (650) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.Phi.im + smeeM.rotorCage.strayReluctance.port_n.Phi.im = 0.0 ($RES_SIM_1240) (651) [FOR-] (3) ($RES_BND_1012) (651) [----] for $i1 in 1:3 loop (651) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].heatPort.Q_flow = -smeeM.stator.resistor.resistor[$i1].LossPower ($RES_BND_1013) (651) [----] end for; (652) [FOR-] (3) ($RES_BND_1010) (652) [----] for $i1 in 1:3 loop (652) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].abs_V_m = (smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re ^ 2.0 + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1011) (652) [----] end for; (653) [SCAL] (1) -star.pin_n.i = sum(star.plug_p.pin.i) ($RES_$AUX_1186) (654) [FOR-] (3) ($RES_$AUX_1184) (654) [----] for $i1 in 1:3 loop (654) [----] [SCAL] (1) $FUN_2[$i1] = sin(sineVoltage.sineVoltage[$i1].signalSource.freqHz * 6.283185307179586 * (time - sineVoltage.sineVoltage[$i1].signalSource.startTime) + sineVoltage.sineVoltage[$i1].signalSource.phase) ($RES_$AUX_1185) (654) [----] end for; (655) [SCAL] (1) constantSpeedM.w_fixed = $DER.constantSpeedM.phi ($RES_SIM_10) (656) [TUPL] (3) ($FUN_3, $FUN_4) = Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor(electricalPowerSensorM.plug_p.pin.v - electricalPowerSensorM.plug_nv.pin.v) ($RES_$AUX_1183) (657) [TUPL] (3) ($FUN_5, $FUN_6) = Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor(electricalPowerSensorM.plug_p.pin.i) ($RES_$AUX_1182) (658) [TUPL] (3) ($FUN_7, $FUN_8) = Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor(electricalPowerSensorE.plug_p.pin.v - electricalPowerSensorE.plug_nv.pin.v) ($RES_$AUX_1181) (659) [TUPL] (3) ($FUN_9, $FUN_10) = Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor(electricalPowerSensorE.plug_p.pin.i) ($RES_$AUX_1180) (660) [SCAL] (1) mechanicalPowerSensorE.relSpeedSensor.w_rel = $DER.mechanicalPowerSensorE.relSpeedSensor.phi_rel ($RES_SIM_14) (661) [SCAL] (1) mechanicalPowerSensorE.relSpeedSensor.phi_rel = constantSpeedE.flange.phi - mechanicalPowerSensorE.fixed.phi0 ($RES_SIM_15) (662) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.Phi.re + smeeM.rotorCage.strayReluctance.port_n.Phi.re = 0.0 ($RES_SIM_1239) (663) [SCAL] (1) mechanicalPowerSensorE.product.y = mechanicalPowerSensorE.relSpeedSensor.w_rel * mechanicalPowerSensorE.torqueSensor.flange_a.tau ($RES_SIM_16) (664) [SCAL] (1) smeeM.rotorCage.strayReluctance.V_m.im = smeeM.rotorCage.strayReluctance.port_p.V_m.im - smeeM.rotorCage.strayReluctance.port_n.V_m.im ($RES_SIM_1238) (665) [SCAL] (1) smeeM.rotorCage.strayReluctance.V_m.re = smeeM.rotorCage.strayReluctance.port_p.V_m.re - smeeM.rotorCage.strayReluctance.port_n.V_m.re ($RES_SIM_1237) (666) [FOR-] (2) ($RES_SIM_1235) (666) [----] for $i1 in 1:2 loop (666) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.im = 0.6366197723675814 * smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.im * smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i ($RES_SIM_1236) (666) [----] end for; (667) [FOR-] (3) ($RES_BND_1008) (667) [----] for $i1 in 1:3 loop (667) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].arg_V_m = Modelica.Math.atan3(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im, smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re, 0.0) ($RES_BND_1009) (667) [----] end for; (668) [FOR-] (2) ($RES_SIM_1233) (668) [----] for $i1 in 1:2 loop (668) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.re = 0.6366197723675814 * smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.re * smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i ($RES_SIM_1234) (668) [----] end for; (669) [FOR-] (3) ($RES_BND_1006) (669) [----] for $i1 in 1:3 loop (669) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].abs_Phi = (smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re ^ 2.0 + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1007) (669) [----] end for; (670) [FOR-] (2) ($RES_SIM_1231) (670) [----] for $i1 in 1:2 loop (670) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im - smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.im ($RES_SIM_1232) (670) [----] end for; (671) [FOR-] (3) ($RES_BND_1004) (671) [----] for $i1 in 1:3 loop (671) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].arg_Phi = Modelica.Math.atan3(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im, smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re, 0.0) ($RES_BND_1005) (671) [----] end for; (672) [SCAL] (1) constantSpeedM.phi = constantSpeedM.flange.phi ($RES_SIM_8) (673) [SCAL] (1) smeeM.stator.electroMagneticConverter.arg_Phi = Modelica.Math.atan3(smeeM.stator.electroMagneticConverter.Phi.im, smeeM.stator.electroMagneticConverter.Phi.re, 0.0) ($RES_BND_1003) (674) [SCAL] (1) smeeM.stator.electroMagneticConverter.abs_Phi = (smeeM.stator.electroMagneticConverter.Phi.re ^ 2.0 + smeeM.stator.electroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1002) (675) [SCAL] (1) constantSpeedE.w_fixed = $DER.constantSpeedE.phi ($RES_SIM_6) (676) [SCAL] (1) smeeM.stator.electroMagneticConverter.arg_V_m = Modelica.Math.atan3(smeeM.stator.electroMagneticConverter.V_m.im, smeeM.stator.electroMagneticConverter.V_m.re, 0.0) ($RES_BND_1001) (677) [SCAL] (1) smeeM.stator.electroMagneticConverter.abs_V_m = (smeeM.stator.electroMagneticConverter.V_m.re ^ 2.0 + smeeM.stator.electroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1000) (678) [SCAL] (1) constantSpeedE.phi = constantSpeedE.flange.phi ($RES_SIM_4) (679) [SCAL] (1) 0.0 = sum(terminalBoxM.star.plug_p.pin.i) ($RES_$AUX_1179) (680) [SCAL] (1) 0.0 = sum(terminalBoxE.star.plug_p.pin.i) ($RES_$AUX_1178) (681) [SCAL] (1) 3.0 * smeeM.stator.zeroInductor.i0 = sum(smeeM.stator.zeroInductor.i) ($RES_$AUX_1177) (682) [SCAL] (1) smeeM.thermalAmbient.Q_flowStatorWinding = sum(smeeM.thermalAmbient.thermalCollectorStator.port_a.Q_flow) ($RES_$AUX_1176) (683) [SCAL] (1) -smeeM.rotorCage.star.pin_n.i = sum(smeeM.rotorCage.star.plug_p.pin.i) ($RES_$AUX_1175) (684) [SCAL] (1) -smeeM.rotorCage.heatPortWinding.Q_flow = sum(smeeM.rotorCage.thermalCollector.port_a.Q_flow) ($RES_$AUX_1174) (685) [SCAL] (1) 3.0 * smeeE.spacePhasorS.zero.v = sum(smeeE.spacePhasorS.v) ($RES_$AUX_1173) (686) [SCAL] (1) -3.0 * smeeE.i_0_s = sum(smeeE.spacePhasorS.i) ($RES_$AUX_1172) (687) [SCAL] (1) smeeE.thermalAmbient.Q_flowStatorWinding = sum(smeeE.thermalAmbient.thermalCollectorStator.port_a.Q_flow) ($RES_$AUX_1171) (688) [SCAL] (1) mechanicalPowerSensorM.relSpeedSensor.w_rel = $DER.mechanicalPowerSensorM.relSpeedSensor.phi_rel ($RES_SIM_23) (689) [SCAL] (1) $FUN_20 = cos(smeeE.airGapR.gamma) ($RES_$AUX_1170) (690) [SCAL] (1) mechanicalPowerSensorM.relSpeedSensor.phi_rel = constantSpeedM.flange.phi - mechanicalPowerSensorM.fixed.phi0 ($RES_SIM_24) (691) [SCAL] (1) mechanicalPowerSensorM.product.y = mechanicalPowerSensorM.relSpeedSensor.w_rel * mechanicalPowerSensorM.torqueSensor.flange_a.tau ($RES_SIM_25) (692) [FOR-] (2) ($RES_SIM_1229) (692) [----] for $i1 in 1:2 loop (692) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re - smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.re ($RES_SIM_1230) (692) [----] end for; (693) [FOR-] (2) ($RES_SIM_1227) (693) [----] for $i1 in 1:2 loop (693) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_1228) (693) [----] end for; (694) [SCAL] (1) rotorAngleE.lessThreshold.y = if noEvent($SEV_0) then 0.0 else rotorAngleE.lessThreshold.u[2] ($RES_SIM_29) (695) [FOR-] (2) ($RES_SIM_1225) (695) [----] for $i1 in 1:2 loop (695) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_1226) (695) [----] end for; (696) [SCAL] (1) smeeM.groundR.port_p.V_m.im = 0.0 ($RES_SIM_1224) (697) [SCAL] (1) smeeM.groundR.port_p.V_m.re = 0.0 ($RES_SIM_1223) (698) [SCAL] (1) smeeM.airGap.rotator.im = sin(smeeM.airGap.gamma) ($RES_SIM_1222) (699) [SCAL] (1) smeeM.airGap.rotator.re = cos(smeeM.airGap.gamma) ($RES_SIM_1221) (700) [SCAL] (1) smeeM.airGap.Phi_sr.im = smeeM.airGap.Phi_ss.im * smeeM.airGap.rotator.re - smeeM.airGap.Phi_ss.re * smeeM.airGap.rotator.im ($RES_SIM_1220) (701) [SCAL] (1) $FUN_21 = sin(smeeE.airGapR.gamma) ($RES_$AUX_1169) (702) [SCAL] (1) 3.0 * rotorAngleM.ToSpacePhasorVS.zero = sum(rotorAngleM.ToSpacePhasorVS.u) ($RES_$AUX_1168) (703) [SCAL] (1) $FUN_23 = sqrt(rotorAngleM.ToPolarVSR.u[1] ^ 2.0 + rotorAngleM.ToPolarVSR.u[2] ^ 2.0) ($RES_$AUX_1167) (704) [SCAL] (1) $FUN_24 = atan2(rotorAngleM.ToPolarVSR.u[2], rotorAngleM.ToPolarVSR.u[1]) ($RES_$AUX_1166) (705) [SCAL] (1) thetaM = Modelica.Math.wrapAngle(rotorAngleM.lessThreshold.y, rotorAngleM.wrapAngle.positiveRange) ($RES_$AUX_1165) (706) [SCAL] (1) 3.0 * rotorAngleE.ToSpacePhasorVS.zero = sum(rotorAngleE.ToSpacePhasorVS.u) ($RES_$AUX_1164) (707) [SCAL] (1) $FUN_27 = sqrt(rotorAngleE.ToPolarVSR.u[1] ^ 2.0 + rotorAngleE.ToPolarVSR.u[2] ^ 2.0) ($RES_$AUX_1163) (708) [SCAL] (1) $FUN_28 = atan2(rotorAngleE.ToPolarVSR.u[2], rotorAngleE.ToPolarVSR.u[1]) ($RES_$AUX_1162) (709) [SCAL] (1) rotorAngleE.ToPolarVSR.y[2] = if noEvent($SEV_1) then 0.0 else $FUN_28 ($RES_SIM_32) (710) [SCAL] (1) thetaE = Modelica.Math.wrapAngle(rotorAngleE.lessThreshold.y, rotorAngleE.wrapAngle.positiveRange) ($RES_$AUX_1161) (711) [SCAL] (1) rotorAngleE.ToPolarVSR.y[1] = $FUN_27 ($RES_SIM_33) (712) [SCAL] (1) $FUN_30 = cos(-rotorAngleE.add.y) ($RES_$AUX_1160) (713) [ARRY] (2) rotorAngleE.rotatorVS2R.y = rotorAngleE.rotatorVS2R.RotationMatrix * rotorAngleE.rotatorVS2R.u ($RES_SIM_34) (714) [SCAL] (1) rotorAngleE.add.y = rotorAngleE.add.k1 * rotorAngleE.relativeAngleSensor.phi_rel + rotorAngleE.add.k2 * rotorAngleE.constant_.k ($RES_SIM_35) (715) [SCAL] (1) smeeM.airGap.Phi_sr.re = smeeM.airGap.Phi_ss.im * smeeM.airGap.rotator.im + smeeM.airGap.Phi_ss.re * smeeM.airGap.rotator.re ($RES_SIM_1219) (716) [SCAL] (1) smeeM.airGap.V_msr.im = smeeM.airGap.V_mss.im * smeeM.airGap.rotator.re - smeeM.airGap.V_mss.re * smeeM.airGap.rotator.im ($RES_SIM_1218) (717) [SCAL] (1) smeeM.airGap.V_msr.re = smeeM.airGap.V_mss.im * smeeM.airGap.rotator.im + smeeM.airGap.V_mss.re * smeeM.airGap.rotator.re ($RES_SIM_1217) (718) [SCAL] (1) smeeM.airGap.port_rp.V_m.im - smeeM.airGap.port_rn.V_m.im = smeeM.airGap.V_mrr.im ($RES_SIM_1216) (719) [SCAL] (1) rotorAngleE.relativeAngleSensor.phi_rel = constantSpeedE.flange.phi - rotorAngleE.fixed.phi0 ($RES_SIM_39) (720) [SCAL] (1) smeeM.airGap.port_rp.V_m.re - smeeM.airGap.port_rn.V_m.re = smeeM.airGap.V_mrr.re ($RES_SIM_1215) (721) [SCAL] (1) smeeM.airGap.port_sp.V_m.im - smeeM.airGap.port_sn.V_m.im = smeeM.airGap.V_mss.im ($RES_SIM_1214) (722) [SCAL] (1) smeeM.airGap.port_sp.V_m.re - smeeM.airGap.port_sn.V_m.re = smeeM.airGap.V_mss.re ($RES_SIM_1213) (723) [SCAL] (1) smeeM.airGap.port_rp.Phi.im + smeeM.airGap.port_rn.Phi.im = 0.0 ($RES_SIM_1212) (724) [SCAL] (1) smeeM.airGap.port_rp.Phi.re + smeeM.airGap.port_rn.Phi.re = 0.0 ($RES_SIM_1211) (725) [SCAL] (1) smeeM.airGap.port_sp.Phi.im + smeeM.airGap.port_sn.Phi.im = 0.0 ($RES_SIM_1210) (726) [SCAL] (1) $FUN_31 = sin(-rotorAngleE.add.y) ($RES_$AUX_1159) (727) [SCAL] (1) $FUN_32 = cos(-rotorAngleM.add.y) ($RES_$AUX_1158) (728) [SCAL] (1) $FUN_33 = sin(-rotorAngleM.add.y) ($RES_$AUX_1157) (729) [SCAL] (1) $FUN_35 = Modelica.Electrical.Machines.SpacePhasors.Functions.activePower(smeeE.vs, smeeE.is) ($RES_$AUX_1155) (730) [SCAL] (1) $FUN_36 = sum(smeeE.rs.resistor.LossPower) ($RES_$AUX_1154) (731) [ARRY] (2) rotorAngleE.ToSpacePhasorVS.y = rotorAngleE.ToSpacePhasorVS.TransformationMatrix * rotorAngleE.ToSpacePhasorVS.u ($RES_SIM_40) (732) [SCAL] (1) smeeM.damperCageLossPower = sum(smeeM.rotorCage.resistor.resistor.LossPower) ($RES_$AUX_1153) (733) [SCAL] (1) 1.4142135623730951 * smeeM.irRMS = sqrt(smeeM.rotorCage.i[1] ^ 2.0 + smeeM.rotorCage.i[2] ^ 2.0) ($RES_$AUX_1152) (734) [FOR-] (3) ($RES_SIM_42) (734) [----] for $i1 in 1:3 loop (734) [----] [SCAL] (1) rotorAngleE.VoltageSensor1.voltageSensor[$i1].v = rotorAngleE.VoltageSensor1.voltageSensor[$i1].p.v - rotorAngleE.VoltageSensor1.voltageSensor[$i1].n.v ($RES_SIM_43) (734) [----] end for; (735) [SCAL] (1) $FUN_39 = sum(smeeM.stator.resistor.resistor.LossPower) ($RES_$AUX_1151) (736) [FOR-] (3) ($RES_SIM_44) (736) [----] for $i1 in 1:3 loop (736) [----] [SCAL] (1) rotorAngleE.VoltageSensor1.voltageSensor[$i1].n.i = 0.0 ($RES_SIM_45) (736) [----] end for; (737) [SCAL] (1) smeeM.airGap.port_sp.Phi.re + smeeM.airGap.port_sn.Phi.re = 0.0 ($RES_SIM_1209) (738) [FOR-] (3) ($RES_SIM_46) (738) [----] for $i1 in 1:3 loop (738) [----] [SCAL] (1) rotorAngleE.VoltageSensor1.voltageSensor[$i1].p.i = 0.0 ($RES_SIM_47) (738) [----] end for; (739) [SCAL] (1) smeeM.groundS.port_p.V_m.im = 0.0 ($RES_SIM_1208) (740) [SCAL] (1) smeeM.groundS.port_p.V_m.re = 0.0 ($RES_SIM_1207) (741) [SCAL] (1) rotorAngleM.lessThreshold.y = if noEvent($SEV_2) then 0.0 else rotorAngleM.lessThreshold.u[2] ($RES_SIM_48) (742) [SCAL] (1) smeeM.stator.strayReluctance.port_p.Phi.im + smeeM.stator.strayReluctance.port_n.Phi.im = 0.0 ($RES_SIM_1206) (743) [SCAL] (1) smeeM.stator.strayReluctance.port_p.Phi.re + smeeM.stator.strayReluctance.port_n.Phi.re = 0.0 ($RES_SIM_1205) (744) [SCAL] (1) smeeM.stator.strayReluctance.V_m.im = smeeM.stator.strayReluctance.port_p.V_m.im - smeeM.stator.strayReluctance.port_n.V_m.im ($RES_SIM_1204)