Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.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_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 108.6 kB / 16.42 MB, free: 6.512 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.001004/0.001004, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.177e-05, allocations: 3.547 kB / 327.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.0287/0.02873, allocations: 29.4 MB / 356.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.04709, allocations: 8.128 MB / 364.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007394/0.05454, allocations: 171.4 kB / 364.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006528/0.06109, allocations: 1.94 MB / 366.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.07142, allocations: 2.643 MB / 369.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005857/0.07729, allocations: 1.778 MB / 371.3 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2186/0.2959, allocations: 11.29 MB / 382.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00873/0.3047, allocations: 5.323 MB / 387.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009644/0.3144, allocations: 3.84 MB / 391.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009066/0.3235, allocations: 4.156 MB / 395.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002536/0.3261, allocations: 0.8006 MB / 396.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007538/0.3336, allocations: 2.121 MB / 398.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.01377/0.3474, allocations: 11.38 MB / 410.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.006353/0.3538, allocations: 7.346 MB / 417.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00397/0.3578, allocations: 1.048 MB / 418.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.001206/0.359, allocations: 138.6 kB / 418.7 MB, free: 416 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 (1301) * Number of variables: 2293 (1293) Notification: Performance of Bindings: time 0.0572/0.4162, allocations: 42.6 MB / 461.3 MB, free: 7.371 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.006617/0.4228, allocations: 4.471 MB / 465.8 MB, free: 2.949 MB / 366.1 MB Notification: Performance of Early Inline: time 0.03442/0.4573, allocations: 24.68 MB / 490.5 MB, free: 10.53 MB / 398.1 MB Notification: Performance of simplify1: time 0.002627/0.46, allocations: 1.197 MB / 491.7 MB, free: 9.363 MB / 398.1 MB Notification: Performance of Alias: time 0.04058/0.5006, allocations: 24.21 MB / 0.5038 GB, free: 264 kB / 414.1 MB Notification: Performance of simplify2: time 0.002201/0.5028, allocations: 0.9501 MB / 0.5047 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Events: time 0.00589/0.5087, allocations: 3.709 MB / 0.5083 GB, free: 11.66 MB / 430.1 MB Notification: Performance of Detect States: time 0.008012/0.5168, allocations: 5.077 MB / 0.5133 GB, free: 6.617 MB / 430.1 MB Notification: Performance of Partitioning: time 0.01309/0.5299, allocations: 7.823 MB / 0.5209 GB, free: 14.73 MB / 446.1 MB Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (985/2007) ***************************** (1) [ALGB] (1) redeclare Real smeeM.airGap.Phi_sr.re (2) [ALGB] (1) Real smee3.rotorCage.strayReluctance.port_p.V_m.re (3) [ALGB] (1) flow Real smee3.rotorCage.strayReluctance.port_n.Phi.re (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] (3) Real[3] currentRMSsensor3.CurrentSensor1.currentSensor.n.v (7) [ALGB] (5) flow Real[5] starM.plug_p.pin.i (8) [ALGB] (1) Real smee3.rotorCage.electroMagneticConverter.abs_Phi = Modelica.ComplexMath.'abs'(smee3.rotorCage.electroMagneticConverter.Phi) (9) [ALGB] (1) Real smeeM.excitation.resistor.R_actual (10) [ALGB] (3) redeclare Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im (11) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.i (12) [DER-] (5) redeclare Real[5] $DER.smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re (13) [ALGB] (1) redeclare Real smee3.airGap.V_mss.re (14) [ALGB] (1) flow Real smee3.excitation.port_p.Phi.re (15) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re (16) [ALGB] (1) flow Real smee3.inertiaRotor.flange_b.tau (17) [ALGB] (3) flow Real[3] smee3.stator.resistor.plug_n.pin.i (18) [ALGB] (5) Real[5] smeeM.thermalAmbient.thermalCollectorStator.port_a.T (start = {288.15 for $i1 in 1:5}, min = {0.0 for $i1 in 1:5}, nominal = {300.0 for $i1 in 1:5}) (19) [ALGB] (1) redeclare Real smee3.rotorCage.electroMagneticConverter.V_m.re (20) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.excitation.electroMagneticConverter.Phi) (21) [ALGB] (3) flow Real[3] currentRMSsensor3.CurrentSensor1.currentSensor.n.i (22) [ALGB] (1) Real smee3.inertiaRotor.a (23) [ALGB] (5) Real[5] starM.plug_p.pin.v (24) [ALGB] (1) final output Real smee3.powerBalance.lossPowerStatorCore = smee3.stator.core.lossPower (25) [DER-] (1) Real $DER.smeeM.friction.phi (26) [ALGB] (1) Real smee3.rotorCage.electroMagneticConverter.arg_V_m = Modelica.ComplexMath.arg(smee3.rotorCage.electroMagneticConverter.V_m, 0.0) (27) [ALGB] (1) flow Real smeeM.excitation.electroMagneticConverter.port_p.Phi.re (28) [ALGB] (3) Real[3] smee3.stator.resistor.plug_n.pin.v (29) [ALGB] (1) redeclare Real smee3.airGap.Phi_rr.im (30) [ALGB] (1) Real smee3.brush.n.v (31) [DER-] (1) Real $DER.mechanicalPowerSensor3.relSpeedSensor.phi_rel (32) [ALGB] (1) Real smee3.stator.strayReluctance.port_n.V_m.re (33) [ALGB] (1) flow Real smee3.stator.port_p.Phi.re (34) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.arg_V_m = Modelica.ComplexMath.arg(smeeM.excitation.electroMagneticConverter.V_m, 0.0) (35) [ALGB] (3) flow Real[3] smee3.stator.resistor.plug_p.pin.i (36) [ALGB] (1) flow Real smee3.groundR.port_p.Phi.re (37) [ALGB] (1) redeclare Real smee3.excitation.V_m.re (38) [ALGB] (1) Real smee3.airGap.port_rn.V_m.re (39) [ALGB] (1) Real smee3.strayLoad.iRMS = Modelica.Electrical.MultiPhase.Functions.quasiRMS(smee3.strayLoad.i) (40) [ALGB] (3) flow Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im (41) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im (42) [ALGB] (1) Real smee3.airGap.rotator.re (43) [ALGB] (1) flow Real smee3.excitation.port_n.Phi.im (44) [ALGB] (1) Real smee3.excitation.port_p.V_m.im (45) [ALGB] (3) Real[3] smee3.stator.resistor.plug_p.pin.v (46) [ALGB] (1) redeclare Real smeeM.airGap.V_mrr.re (47) [ALGB] (1) redeclare Real smee3.stator.core.V_m.re (48) [ALGB] (1) redeclare Real smeeM.excitation.electroMagneticConverter.V_m.im (49) [DISC] (2) Boolean[2] $SEV_5[$i1] (50) [DISC] (2) Boolean[2] $SEV_8[$i1] (51) [ALGB] (1) Real smeeM.airGap.rotator.im (52) [ALGB] (1) Real smee3.rotorCage.electroMagneticConverter.abs_V_m = Modelica.ComplexMath.'abs'(smee3.rotorCage.electroMagneticConverter.V_m) (53) [ALGB] (3) flow Real[3] electricalPowerSensor3.plug_nv.pin.i (54) [ALGB] (1) redeclare Real smee3.stator.electroMagneticConverter.Phi.im = smee3.stator.electroMagneticConverter.port_p.Phi.im (55) [ALGB] (5) flow Real[5] smeeM.stator.heatPortWinding.Q_flow (56) [ALGB] (3) Real[3] currentRMSsensor3.CurrentSensor1.currentSensor.i (57) [ALGB] (1) Real currentRMSsensor3.Gain1.u (58) [ALGB] (3) flow Real[3] smee3.stator.heatPortWinding.Q_flow (59) [ALGB] (1) Real smee3.stator.port_p.V_m.im (60) [ALGB] (1) flow Real smee3.stator.port_n.Phi.im (61) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.excitation.electroMagneticConverter.V_m) (62) [ALGB] (1) Real smee3.groundR.port_p.V_m.im (63) [ALGB] (1) final Real smee3.thermalAmbient.Q_flowTotal = smee3.thermalAmbient.Q_flowStrayLoad + smee3.thermalAmbient.Q_flowStatorCore + smee3.thermalAmbient.Q_flowRotorWinding + smee3.thermalAmbient.Q_flowStatorWinding + smee3.thermalAmbient.Q_flowExcitation + 0.0 + smee3.thermalAmbient.Q_flowFriction (64) [ALGB] (1) flow Real smeeM.excitation.reluctance.port_p.Phi.im (65) [ALGB] (3) Real[3] electricalPowerSensor3.plug_nv.pin.v (66) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.v = smeeM.stator.electroMagneticConverter.plug_p.pin.v - smeeM.stator.electroMagneticConverter.plug_n.pin.v (67) [ALGB] (1) Real smeeM.airGap.port_sn.V_m.re (68) [ALGB] (3) flow Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re (69) [ALGB] (1) Real smee3.excitation.resistor.v (70) [ALGB] (1) Real smee3.excitation.electroMagneticConverter.arg_Phi = Modelica.ComplexMath.arg(smee3.excitation.electroMagneticConverter.Phi, 0.0) (71) [ALGB] (1) Real smee3.stator.electroMagneticConverter.port_n.V_m.re (72) [ALGB] (1) flow Real smeeM.airGap.port_rn.Phi.im (73) [ALGB] (1) Real smeeM.excitation.port_n.V_m.re (74) [ALGB] (1) Real smeeM.airGap.port_rp.V_m.im (75) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.i = smeeM.stator.electroMagneticConverter.plug_p.pin.i (76) [ALGB] (1) flow Real smeeM.stator.port_p.Phi.re (77) [ALGB] (1) redeclare Real smeeM.excitation.Phi.im = smeeM.excitation.port_p.Phi.im (78) [ALGB] (1) redeclare Real smee3.airGap.Phi_ss.re (79) [ALGB] (1) redeclare Real smee3.rotorCage.Phi.im = smee3.rotorCage.port_p.Phi.im (80) [ALGB] (3) Real[3] rotorAngle3.ToSpacePhasorVS.u (81) [DER-] (1) redeclare Real $DER.smee3.stator.core.Phi.re (82) [DER-] (1) Real $DER.smeeM.stator.zeroInductor.i0 (83) [ALGB] (2) Real[2] rotorAngle3.ToSpacePhasorVS.y (84) [ALGB] (1) Real smee3.tauElectrical = smee3.tauElectrical (85) [ALGB] (1) redeclare Real smeeM.stator.electroMagneticConverter.Phi.im = smeeM.stator.electroMagneticConverter.port_p.Phi.im (86) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowStrayLoad = smeeM.thermalAmbient.Q_flowStrayLoad (87) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.port_n.V_m.re (88) [ALGB] (1) flow Real smeeM.stator.core.port_n.Phi.re (89) [ALGB] (1) Real smeeM.stator.core.port_p.V_m.re (90) [ALGB] (1) flow Real smeeM.airGap.port_rp.Phi.re (91) [ALGB] (1) Real smee3.excitation.electroMagneticConverter.abs_Phi = Modelica.ComplexMath.'abs'(smee3.excitation.electroMagneticConverter.Phi) (92) [ALGB] (2) flow Real[2] smeeM.rotorCage.thermalCollector.port_a.Q_flow (93) [ALGB] (1) Real smee3.excitation.resistor.LossPower (94) [ALGB] (5) Real[5] electricalPowerSensorM.product.u1 (95) [ALGB] (1) Real smeeM.stator.port_p.V_m.im (96) [ALGB] (1) flow Real smeeM.stator.port_n.Phi.im (97) [ALGB] (5) Real[5] electricalPowerSensorM.product.u2 (98) [ALGB] (3) flow Real[3] smee3.stator.electroMagneticConverter.plug_n.pin.i (99) [ALGB] (5) flow Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im (100) [ALGB] (1) Real smee3.excitation.electroMagneticConverter.arg_V_m = Modelica.ComplexMath.arg(smee3.excitation.electroMagneticConverter.V_m, 0.0) (101) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowStatorWinding = smeeM.thermalAmbient.Q_flowStatorWinding (102) [ALGB] (1) Real rampCurrent3.n.v (103) [ALGB] (1) Real $FUN_33 (104) [ALGB] (1) redeclare Real smeeM.excitation.reluctance.Phi.im (105) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.plug_n.pin.v (106) [ALGB] (1) Real $FUN_30 (107) [ALGB] (2) Real[2] currentRMSsensor3.ToPolar1.u (108) [ALGB] (2) Real[2] currentRMSsensor3.ToPolar1.y (109) [ALGB] (1) Real smeeM.stator.core.port_n.V_m.im (110) [ALGB] (2) Real[2] smee3.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}) (111) [ALGB] (3) flow Real[3] smee3.stator.electroMagneticConverter.plug_p.pin.i (112) [ALGB] (1) redeclare Real smee3.stator.strayReluctance.Phi.re (113) [ALGB] (3) Real[3] smee3.plug_sp.pin.v (114) [ALGB] (1) flow Real smee3.stator.strayReluctance.port_p.Phi.im (115) [ALGB] (3) Real[3] smee3.strayLoad.plug_p.pin.v (116) [ALGB] (1) flow Real smee3.inertiaStator.flange_a.tau (117) [ALGB] (3) Real[3] currentRMSsensor3.CurrentSensor1.plug_p.pin.v (118) [ALGB] (1) redeclare Real smeeM.rotorCage.strayReluctance.V_m.re (119) [ALGB] (1) redeclare Real smeeM.stator.core.V_m.re (120) [ALGB] (1) flow Real smee3.airGap.port_rp.Phi.im (121) [ALGB] (1) Real smee3.groundS.port_p.V_m.im (122) [ALGB] (1) Real smee3.airGap.port_sp.V_m.re (123) [ALGB] (1) flow Real smee3.airGap.port_sn.Phi.re (124) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.plug_p.pin.v (125) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.plug_p.pin.v (126) [ALGB] (3) flow Real[3] smee3.plug_sp.pin.i (127) [ALGB] (3) flow Real[3] smee3.strayLoad.plug_p.pin.i (128) [ALGB] (3) flow Real[3] currentRMSsensor3.CurrentSensor1.plug_p.pin.i (129) [ALGB] (1) Real $FUN_27 (130) [ALGB] (1) Real $FUN_26 (131) [ALGB] (5) Real[5] $FUN_25 (132) [ALGB] (1) Real smee3.excitation.electroMagneticConverter.abs_V_m = Modelica.ComplexMath.'abs'(smee3.excitation.electroMagneticConverter.V_m) (133) [ALGB] (1) Real $FUN_23 (134) [ALGB] (1) Real $FUN_22 (135) [ALGB] (1) Real smeeM.stator.core.lossPower (136) [ALGB] (3) Real[3] smee3.plug_sn.pin.v (137) [ALGB] (3) Real[3] smee3.strayLoad.plug_n.pin.v (138) [ALGB] (2) flow Real[2] smee3.rotorCage.electroMagneticConverter.plug_p.pin.i (139) [ALGB] (1) redeclare Real smee3.stator.Phi.re = smee3.stator.port_p.Phi.re (140) [ALGB] (3) Real[3] currentRMSsensor3.CurrentSensor1.plug_n.pin.v (141) [ALGB] (1) flow Real smeeM.stator.strayReluctance.port_p.Phi.im (142) [ALGB] (1) redeclare Real smee3.stator.strayReluctance.V_m.im (143) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.plug_n.pin.v (144) [ALGB] (1) Real smeeM.rotorCage.port_n.V_m.re (145) [ALGB] (3) flow Real[3] smee3.plug_sn.pin.i (146) [ALGB] (3) flow Real[3] smee3.strayLoad.plug_n.pin.i (147) [ALGB] (1) Real smeeM.strayLoad.w (148) [ALGB] (5) Real[5] smeeM.strayLoad.v (149) [ALGB] (3) flow Real[3] currentRMSsensor3.CurrentSensor1.plug_n.pin.i (150) [ALGB] (5) Real[5] electricalPowerSensorM.pc.pin.v (151) [ALGB] (5) Real[5] smeeM.stator.zeroInductor.i (152) [ALGB] (1) flow Real smee3.groundS.port_p.Phi.re (153) [ALGB] (1) Real smeeM.strayLoad.iRMS = Modelica.Electrical.MultiPhase.Functions.quasiRMS(smeeM.strayLoad.i) (154) [ALGB] (1) Real smee3.airGap.port_sn.V_m.im (155) [ALGB] (2) flow Real[2] smee3.rotorCage.electroMagneticConverter.plug_n.pin.i (156) [ALGB] (1) flow Real smeeM.excitation.port_p.Phi.im (157) [ALGB] (1) Real $FUN_19 (158) [ALGB] (1) Real $FUN_18 (159) [ALGB] (5) Real[5] smeeM.strayLoad.i (160) [ALGB] (1) Real smee3.stator.core.port_n.V_m.im (161) [ALGB] (1) Real smee3.excitation.reluctance.port_p.V_m.re (162) [ALGB] (1) flow Real smee3.excitation.reluctance.port_n.Phi.re (163) [ALGB] (5) flow Real[5] electricalPowerSensorM.pc.pin.i (164) [ALGB] (1) Real smee3.rotorCage.electroMagneticConverter.port_n.V_m.re (165) [DER-] (1) redeclare Real $DER.smeeM.stator.core.Phi.re (166) [ALGB] (5) Real[5] smeeM.stator.zeroInductor.v (167) [ALGB] (1) flow Real smee3.rotorCage.heatPortWinding.Q_flow (168) [ALGB] (1) redeclare Real smee3.stator.V_m.im (169) [ALGB] (2) flow Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im (170) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im (171) [ALGB] (1) final output Real smee3.powerBalance.powerStator = Modelica.Electrical.MultiPhase.Functions.activePower(smee3.vs, smee3.is) (172) [ALGB] (1) redeclare Real smeeM.rotorCage.Phi.im = smeeM.rotorCage.port_p.Phi.im (173) [ALGB] (1) redeclare Real smeeM.airGap.Phi_rr.im (174) [ALGB] (1) Real smeeM.stator.strayReluctance.arg_Phi = Modelica.ComplexMath.arg(smeeM.stator.strayReluctance.Phi, 0.0) (175) [ALGB] (5) Real[5] smeeM.is = smeeM.plug_sp.pin.i (start = {0.0 for $i1 in 1:5}) (176) [ALGB] (2) Real[2] smeeM.ir (fixed = {true for $i1 in 1:2}, start = {0.0 for $i1 in 1:2}) (177) [ALGB] (1) flow Real mechanicalPowerSensorM.torqueSensor.flange_a.tau (178) [ALGB] (2) Real[2] smee3.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}) (179) [ALGB] (1) Real smeeM.rotorCage.arg_Phi = Modelica.ComplexMath.arg(smeeM.rotorCage.Phi, 0.0) (180) [ALGB] (1) flow Real smee3.rotorCage.port_p.Phi.re (181) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im (182) [ALGB] (1) Real mechanicalPowerSensor3.product.y (183) [ALGB] (1) Real smeeM.ie = smeeM.ie (184) [ALGB] (3) Real[3] smee3.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}) (185) [ALGB] (1) Real smee3.stator.core.port_p.V_m.re (186) [ALGB] (1) flow Real smee3.stator.core.port_n.Phi.re (187) [ALGB] (1) Real smee3.excitation.reluctance.port_n.V_m.im (188) [ALGB] (1) flow Real smeeM.groundR.port_p.Phi.im (189) [ALGB] (5) Real[5] smeeM.stator.resistor.resistor.R_actual (190) [ALGB] (1) redeclare Real smee3.airGap.V_mrr.re (191) [ALGB] (1) redeclare Real smeeM.stator.V_m.re (192) [ALGB] (2) flow Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re (193) [ALGB] (3) Real[3] smee3.stator.zeroInductor.plug_p.pin.v (194) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowExcitation = smeeM.thermalAmbient.Q_flowExcitation (195) [ALGB] (1) Real smeeM.stator.strayReluctance.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.stator.strayReluctance.Phi) (196) [ALGB] (1) redeclare Real smee3.excitation.reluctance.V_m.re (197) [ALGB] (3) flow Real[3] smee3.thermalAmbient.thermalCollectorStator.port_a.Q_flow (198) [ALGB] (1) Real smee3.rotorCage.port_p.V_m.im (199) [ALGB] (1) flow Real smee3.rotorCage.port_n.Phi.im (200) [ALGB] (1) Real smee3.excitation.electroMagneticConverter.port_n.V_m.re (201) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re (202) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re (203) [ALGB] (1) Real smeeM.rotorCage.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.rotorCage.Phi) (204) [ALGB] (3) flow Real[3] smee3.stator.zeroInductor.plug_p.pin.i (205) [ALGB] (5) Real[5] smeeM.stator.heatPortWinding.T (start = {288.15 for $i1 in 1:5}, min = {0.0 for $i1 in 1:5}, nominal = {300.0 for $i1 in 1:5}) (206) [ALGB] (3) flow Real[3] smee3.stator.resistor.resistor.heatPort.Q_flow = {-smee3.stator.resistor.resistor[$resistor1].LossPower for $resistor1 in 1:3} (207) [ALGB] (1) final output Real smee3.powerBalance.lossPowerFriction = -smee3.friction.heatPort.Q_flow (208) [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}) (209) [ALGB] (5) flow Real[5] smeeM.stator.zeroInductor.plug_n.pin.i (210) [ALGB] (1) Real smeeM.stator.strayReluctance.arg_V_m = Modelica.ComplexMath.arg(smeeM.stator.strayReluctance.V_m, 0.0) (211) [ALGB] (1) Real smeeM.brush.n.v (212) [ALGB] (3) Real[3] smee3.stator.zeroInductor.plug_n.pin.v (213) [ALGB] (2) redeclare Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re (214) [ALGB] (1) redeclare Real smeeM.airGap.Phi_ss.re (215) [ALGB] (1) protected Real smee3.damperCageLossPower (216) [DER-] (1) Real $DER.smee3.inertiaStator.w (217) [DER-] (2) redeclare Real[2] $DER.smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re (218) [ALGB] (5) flow Real[5] terminalBoxM.star.plug_p.pin.i (219) [ALGB] (1) flow Real mechanicalPowerSensor3.torqueSensor.flange_a.tau (220) [ALGB] (1) Real smeeM.rotorCage.arg_V_m = Modelica.ComplexMath.arg(smeeM.rotorCage.V_m, 0.0) (221) [ALGB] (1) redeclare Real smeeM.rotorCage.electroMagneticConverter.Phi.im = smeeM.rotorCage.electroMagneticConverter.port_p.Phi.im (222) [ALGB] (5) Real[5] smeeM.stator.zeroInductor.plug_n.pin.v (223) [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 (224) [ALGB] (5) Real[5] currentRMSsensorM.quasiRMS.u (225) [ALGB] (2) protected Real[2] electricalPowerSensor3.v_ (226) [ALGB] (3) flow Real[3] smee3.stator.zeroInductor.plug_n.pin.i (227) [ALGB] (1) flow Real smeeM.stator.electroMagneticConverter.port_p.Phi.im (228) [ALGB] (5) flow Real[5] smeeM.stator.zeroInductor.plug_p.pin.i (229) [ALGB] (5) Real[5] terminalBoxM.star.plug_p.pin.v (230) [ALGB] (1) redeclare Real smeeM.stator.strayReluctance.Phi.im (231) [ALGB] (1) final output Real smeeM.powerBalance.powerMechanical = smeeM.wMechanical * smeeM.tauShaft (232) [ALGB] (5) Real[5] smeeM.stator.resistor.resistor.heatPort.T = {smeeM.stator.resistor.resistor[$resistor1].T_heatPort for $resistor1 in 1:5} (start = {288.15 for $i1 in 1:5}, min = {0.0 for $i1 in 1:5}, nominal = {300.0 for $i1 in 1:5}) (233) [ALGB] (1) Real smeeM.excitation.reluctance.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.excitation.reluctance.V_m) (234) [ALGB] (1) Real smeeM.stator.strayReluctance.port_n.V_m.re (235) [ALGB] (1) Real smee3.rotorCage.strayReluctance.port_p.V_m.im (236) [ALGB] (1) flow Real smee3.rotorCage.strayReluctance.port_n.Phi.im (237) [ALGB] (1) flow Real smeeM.rotorCage.strayReluctance.port_p.Phi.re (238) [ALGB] (1) flow Real smeeM.rotorCage.port_p.Phi.im (239) [ALGB] (2) redeclare Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re (240) [DER-] (1) redeclare Real $DER.smee3.excitation.electroMagneticConverter.Phi.im (241) [ALGB] (3) redeclare Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re (242) [DER-] (5) redeclare Real[5] $DER.smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im (243) [ALGB] (5) Real[5] smeeM.stator.zeroInductor.plug_p.pin.v (244) [ALGB] (1) Real smeeM.stator.strayReluctance.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.stator.strayReluctance.V_m) (245) [ALGB] (1) Real smee3.stator.strayReluctance.abs_V_m = Modelica.ComplexMath.'abs'(smee3.stator.strayReluctance.V_m) (246) [ALGB] (5) Real[5] currentRMSsensorM.currentSensor.plug_p.pin.v (247) [ALGB] (1) redeclare Real smee3.rotorCage.electroMagneticConverter.V_m.im (248) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.i (249) [ALGB] (1) Real smee3.stator.core.lossPower (250) [DISC] (1) Boolean $TEV_3 (251) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v (252) [DISC] (1) Boolean $TEV_2 (253) [DISC] (1) Boolean $TEV_1 (254) [DER-] (1) Real $DER.constantSpeed3.phi (255) [DISC] (1) Boolean $TEV_0 (256) [ALGB] (1) redeclare Real smeeM.airGap.V_msr.im (257) [ALGB] (1) Real smeeM.rotorCage.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.rotorCage.V_m) (258) [ALGB] (1) final Real smee3.thermalAmbient.Q_flowFriction = smee3.thermalAmbient.Q_flowFriction (259) [ALGB] (1) flow Real smee3.rotorCage.electroMagneticConverter.port_p.Phi.im (260) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.resistor.n.i (261) [ALGB] (1) flow Real smeeM.excitation.electroMagneticConverter.port_p.Phi.im (262) [ALGB] (1) Real smee3.excitation.resistor.n.v (263) [ALGB] (5) flow Real[5] currentRMSsensorM.currentSensor.plug_p.pin.i (264) [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 (265) [ALGB] (1) redeclare Real smee3.airGap.Phi_rr.re (266) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.v (267) [ALGB] (2) Real[2] smee3.rotorCage.resistor.plug_p.pin.v (268) [ALGB] (3) Real[3] currentRMSsensor3.CurrentSensor1.i (269) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.i (270) [ALGB] (3) Real[3] smee3.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}) (271) [ALGB] (5) Real[5] currentRMSsensorM.currentSensor.plug_n.pin.v (272) [ALGB] (1) flow Real smee3.rotorCage.strayReluctance.port_p.Phi.re (273) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.port_p.V_m.im (274) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.n.v (275) [ALGB] (1) Real smeeM.excitation.resistor.n.v (276) [ALGB] (1) flow Real smeeM.rotorCage.strayReluctance.port_n.Phi.im (277) [ALGB] (1) final Real smee3.thermalAmbient.Q_flowStatorWinding = smee3.thermalAmbient.Q_flowStatorWinding (278) [ALGB] (1) Real smeeM.excitation.reluctance.arg_V_m = Modelica.ComplexMath.arg(smeeM.excitation.reluctance.V_m, 0.0) (279) [ALGB] (2) flow Real[2] smee3.rotorCage.resistor.plug_p.pin.i (280) [ALGB] (1) flow Real smee3.excitation.port_n.Phi.re (281) [ALGB] (1) Real smee3.excitation.port_p.V_m.re (282) [ALGB] (2) Real[2] smee3.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}) (283) [ALGB] (5) flow Real[5] currentRMSsensorM.currentSensor.plug_n.pin.i (284) [ALGB] (1) Real smee3.stator.strayReluctance.arg_V_m = Modelica.ComplexMath.arg(smee3.stator.strayReluctance.V_m, 0.0) (285) [ALGB] (1) redeclare Real smee3.rotorCage.electroMagneticConverter.Phi.re = smee3.rotorCage.electroMagneticConverter.port_p.Phi.re (286) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerFriction = -smeeM.friction.heatPort.Q_flow (287) [ALGB] (2) Real[2] smee3.rotorCage.resistor.plug_n.pin.v (288) [ALGB] (2) Real[2] smee3.rotorCage.resistor.resistor.i (289) [ALGB] (1) Real smeeM.excitation.reluctance.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.excitation.reluctance.Phi) (290) [ALGB] (1) flow Real smee3.friction.heatPort.Q_flow = -(-smee3.friction.heatPort.Q_flow) (291) [ALGB] (1) flow Real smeeM.rotorCage.heatPortWinding.Q_flow (292) [ALGB] (1) flow Real smee3.fixed.flange.tau (293) [DER-] (1) Real $DER.smee3.phiMechanical (294) [ALGB] (1) protected Real smeeM.damperCageLossPower (295) [ALGB] (2) Real[2] smeeM.rotorCage.i = smeeM.rotorCage.electroMagneticConverter.i (296) [ALGB] (1) redeclare Real smee3.stator.electroMagneticConverter.Phi.re = smee3.stator.electroMagneticConverter.port_p.Phi.re (297) [ALGB] (1) Real smee3.airGap.gamma (298) [ALGB] (5) flow Real[5] sineVoltageM.plug_n.pin.i (299) [ALGB] (1) Real smeeM.friction.w (300) [ALGB] (3) Real[3] smee3.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}) (301) [ALGB] (1) Real smee3.stator.strayReluctance.abs_Phi = Modelica.ComplexMath.'abs'(smee3.stator.strayReluctance.Phi) (302) [ALGB] (2) flow Real[2] smee3.rotorCage.resistor.plug_n.pin.i (303) [ALGB] (2) Real[2] smee3.rotorCage.resistor.resistor.v (304) [ALGB] (5) Real[5] currentRMSsensorM.v (305) [ALGB] (1) flow Real smee3.stator.port_n.Phi.re (306) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.v (307) [ALGB] (1) Real smee3.stator.port_p.V_m.re (308) [ALGB] (1) Real smee3.groundR.port_p.V_m.re (309) [ALGB] (1) flow Real smeeM.excitation.reluctance.port_p.Phi.re (310) [ALGB] (1) Real smeeM.airGap.port_sn.V_m.im (311) [ALGB] (3) flow Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im (312) [ALGB] (5) Real[5] sineVoltageM.plug_n.pin.v (313) [ALGB] (1) flow Real smeeM.rotorCage.star.pin_n.i (314) [ALGB] (1) Real smee3.stator.electroMagneticConverter.port_n.V_m.im (315) [ALGB] (1) Real smee3.excitation.port_n.V_m.im (316) [ALGB] (5) Real[5] currentRMSsensorM.i (317) [ALGB] (3) Real[3] currentRMSsensor3.ToSpacePhasor1.u (318) [ALGB] (1) flow Real smee3.excitation.electroMagneticConverter.port_p.Phi.im (319) [ALGB] (2) Real[2] currentRMSsensor3.ToSpacePhasor1.y (320) [ALGB] (5) flow Real[5] sineVoltageM.plug_p.pin.i (321) [ALGB] (5) Real[5] electricalPowerSensorM.currentSensor.plug_p.pin.v (322) [ALGB] (1) Real smee3.rotorCage.strayReluctance.abs_V_m = Modelica.ComplexMath.'abs'(smee3.rotorCage.strayReluctance.V_m) (323) [DER-] (1) Real $DER.smeeM.strayLoad.phi (324) [ALGB] (1) Real smeeM.excitation.reluctance.arg_Phi = Modelica.ComplexMath.arg(smeeM.excitation.reluctance.Phi, 0.0) (325) [ALGB] (5) Real[5] electricalPowerSensorM.voltageSensor.v (326) [ALGB] (1) redeclare Real smee3.stator.electroMagneticConverter.V_m.im (327) [ALGB] (5) Real[5] sineVoltageM.plug_p.pin.v (328) [ALGB] (1) Real gain.y (329) [ALGB] (5) flow Real[5] electricalPowerSensorM.currentSensor.plug_p.pin.i (330) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v (331) [ALGB] (1) final output Real smee3.powerBalance.powerExcitation = smee3.ve * smee3.ie (332) [ALGB] (1) Real smee3.stator.port_n.V_m.im (333) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.arg_Phi = Modelica.ComplexMath.arg(smeeM.rotorCage.strayReluctance.Phi, 0.0) (334) [ALGB] (1) redeclare Real smeeM.stator.electroMagneticConverter.Phi.re = smeeM.stator.electroMagneticConverter.port_p.Phi.re (335) [ALGB] (1) Real smee3.stator.strayReluctance.arg_Phi = Modelica.ComplexMath.arg(smee3.stator.strayReluctance.Phi, 0.0) (336) [ALGB] (1) Real gain.u (337) [ALGB] (1) flow Real smeeM.inertiaStator.flange_a.tau (338) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.resistor.p.i (339) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.port_n.V_m.im (340) [ALGB] (1) flow Real smeeM.excitation.reluctance.port_n.Phi.im (341) [ALGB] (1) Real smeeM.excitation.reluctance.port_p.V_m.im (342) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.port_n.V_m.re (343) [ALGB] (1) Real smee3.wMechanical = der(smee3.phiMechanical) (start = 0.0) (344) [ALGB] (1) Real smeeM.airGap.port_sp.V_m.re (345) [ALGB] (1) flow Real smeeM.airGap.port_sn.Phi.re (346) [ALGB] (5) Real[5] electricalPowerSensorM.currentSensor.plug_n.pin.v (347) [ALGB] (3) Real[3] rotorAngle3.VoltageSensor1.v (348) [DISC] (5) Boolean[5] $SEV_0[$i1] (349) [ALGB] (1) Real smee3.stator.electroMagneticConverter.port_p.V_m.re (350) [ALGB] (1) flow Real smee3.stator.electroMagneticConverter.port_n.Phi.re (351) [ALGB] (1) flow Real smeeM.airGap.port_rp.Phi.im (352) [DISC] (3) Boolean[3] $SEV_6[$i1] (353) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerBrush = -smeeM.brush.heatPort.Q_flow (354) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.i (355) [DISC] (5) Boolean[5] $SEV_9[$i1] (356) [ALGB] (3) Real[3] smee3.stator.resistor.v (357) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.p.v (358) [ALGB] (1) Real terminalBoxM.star.pin_n.v (359) [ALGB] (1) flow Real smeeM.friction.heatPort.Q_flow = -(-smeeM.friction.heatPort.Q_flow) (360) [ALGB] (1) flow Real smeeM.stator.port_n.Phi.re (361) [ALGB] (1) Real smeeM.stator.port_p.V_m.re (362) [ALGB] (5) flow Real[5] electricalPowerSensorM.currentSensor.plug_n.pin.i (363) [ALGB] (1) Real feedback.y (364) [ALGB] (5) flow Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re (365) [ALGB] (1) flow Real smee3.thermalAmbient.thermalPort.heatPortBrush.Q_flow (366) [ALGB] (1) redeclare Real smee3.rotorCage.strayReluctance.V_m.re (367) [ALGB] (1) flow Real groundRM.p.i (368) [DER-] (3) redeclare Real[3] $DER.smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im (369) [ALGB] (5) redeclare Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re (370) [ALGB] (1) Real smee3.rotorCage.strayReluctance.arg_V_m = Modelica.ComplexMath.arg(smee3.rotorCage.strayReluctance.V_m, 0.0) (371) [ALGB] (1) final Real smee3.thermalAmbient.Q_flowExcitation = smee3.thermalAmbient.Q_flowExcitation (372) [DER-] (1) Real $DER.constantSpeed3.flange.phi (373) [ALGB] (3) Real[3] smee3.stator.resistor.i (374) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.resistor.heatPort.Q_flow = {-smeeM.rotorCage.resistor.resistor[$resistor1].LossPower for $resistor1 in 1:2} (375) [ALGB] (1) redeclare Real smeeM.stator.electroMagneticConverter.V_m.im (376) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.port_n.V_m.re (377) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.rotorCage.strayReluctance.Phi) (378) [ALGB] (1) flow Real smeeM.rotorCage.electroMagneticConverter.port_n.Phi.re (379) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.port_p.V_m.re (380) [ALGB] (1) Real smeeM.groundS.port_p.V_m.re (381) [ALGB] (1) flow Real smeeM.brush.heatPort.Q_flow = -(-smeeM.brush.heatPort.Q_flow) (382) [ALGB] (1) Real smeeM.stator.core.port_n.V_m.re (383) [ALGB] (1) Real smee3.rotorCage.strayReluctance.abs_Phi = Modelica.ComplexMath.'abs'(smee3.rotorCage.strayReluctance.Phi) (384) [ALGB] (1) flow Real smee3.stator.strayReluctance.port_p.Phi.re (385) [ALGB] (5) flow Real[5] smeeM.internalThermalPort.heatPortStatorWinding.Q_flow (386) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.v (387) [ALGB] (5) flow Real[5] smeeM.strayLoad.plug_n.pin.i (388) [ALGB] (1) redeclare Real smeeM.rotorCage.strayReluctance.V_m.im (389) [ALGB] (3) flow Real[3] terminalBox3.plugSupply.pin.i (390) [ALGB] (1) flow Real smee3.airGap.port_rp.Phi.re (391) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.arg_V_m = Modelica.ComplexMath.arg(smeeM.rotorCage.strayReluctance.V_m, 0.0) (392) [ALGB] (1) Real terminalBox3.star.pin_n.v (393) [ALGB] (1) Real smee3.irRMS (394) [ALGB] (1) Real smeeM.stator.port_n.V_m.im (395) [ALGB] (5) flow Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im (396) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im (397) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.i (398) [ALGB] (5) Real[5] smeeM.strayLoad.plug_n.pin.v (399) [ALGB] (3) Real[3] terminalBox3.plugSupply.pin.v (400) [ALGB] (1) final output Real smeeM.powerBalance.powerInertiaRotor = smeeM.inertiaRotor.a * smeeM.inertiaRotor.J * smeeM.inertiaRotor.w (401) [ALGB] (5) flow Real[5] smeeM.strayLoad.plug_p.pin.i (402) [DER-] (1) parameter Real $DER.smee3.fixed.phi0 (403) [ALGB] (3) Real[3] smee3.stator.zeroInductor.i (404) [ALGB] (1) Real mechanicalPowerSensorM.product.y (405) [DER-] (1) Real $DER.smeeM.inertiaRotor.w (406) [DER-] (2) redeclare Real[2] $DER.smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im (407) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerStatorCore = smeeM.stator.core.lossPower (408) [ALGB] (1) Real mechanicalPowerSensorM.relSpeedSensor.w_rel (409) [ALGB] (3) Real[3] sineVoltage3.plug_p.pin.v (410) [ALGB] (1) redeclare Real smee3.stator.strayReluctance.V_m.re (411) [ALGB] (2) flow Real[2] smee3.rotorCage.resistor.heatPort.Q_flow (412) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v (413) [ALGB] (1) Real smee3.stator.strayReluctance.port_p.V_m.im (414) [ALGB] (1) flow Real smee3.stator.strayReluctance.port_n.Phi.im (415) [ALGB] (1) Real smee3.rotorCage.strayReluctance.arg_Phi = Modelica.ComplexMath.arg(smee3.rotorCage.strayReluctance.Phi, 0.0) (416) [ALGB] (5) Real[5] smeeM.strayLoad.plug_p.pin.v (417) [ALGB] (3) Real[3] smee3.stator.zeroInductor.v (418) [ALGB] (1) redeclare Real smee3.excitation.Phi.im = smee3.excitation.port_p.Phi.im (419) [ALGB] (1) redeclare Real smeeM.rotorCage.strayReluctance.Phi.re (420) [ALGB] (5) flow Real[5] sineVoltageM.sineVoltage.n.i (421) [ALGB] (1) Real smee3.airGap.port_rp.V_m.im (422) [ALGB] (1) flow Real smee3.airGap.port_rn.Phi.im (423) [ALGB] (3) Real[3] rotorAngle3.VoltageSensor1.plug_p.pin.v (424) [ALGB] (1) flow Real smee3.groundS.port_p.Phi.im (425) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re (426) [ALGB] (1) Real smee3.airGap.port_sn.V_m.re (427) [ALGB] (3) flow Real[3] sineVoltage3.plug_p.pin.i (428) [ALGB] (1) flow Real smeeM.excitation.port_p.Phi.re (429) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.plug_p.pin.i (430) [ALGB] (1) Real smee3.inertiaStator.a (431) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.rotorCage.strayReluctance.V_m) (432) [ALGB] (5) Real[5] currentRMSsensorM.currentSensor.currentSensor.i (433) [ALGB] (5) flow Real[5] smeeM.stator.resistor.resistor.heatPort.Q_flow = {-smeeM.stator.resistor.resistor[$resistor1].LossPower for $resistor1 in 1:5} (434) [ALGB] (3) flow Real[3] rotorAngle3.plug_n.pin.i (435) [ALGB] (5) Real[5] currentRMSsensorM.currentSensor.currentSensor.p.v (436) [ALGB] (3) flow Real[3] smee3.stator.plug_n.pin.i (437) [ALGB] (5) Real[5] sineVoltageM.sineVoltage.n.v (438) [ALGB] (5) flow Real[5] smeeM.stator.resistor.resistor.n.i (439) [ALGB] (3) Real[3] sineVoltage3.plug_n.pin.v (440) [ALGB] (3) flow Real[3] rotorAngle3.VoltageSensor1.plug_p.pin.i (441) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.plug_n.pin.v (442) [ALGB] (1) Real smee3.stator.abs_V_m = Modelica.ComplexMath.'abs'(smee3.stator.V_m) (443) [ALGB] (3) flow Real[3] smee3.thermalAmbient.thermalPort.heatPortStatorWinding.Q_flow (444) [ALGB] (5) flow Real[5] smeeM.stator.resistor.heatPort.Q_flow (445) [ALGB] (1) Real rampCurrentM.n.v (446) [ALGB] (1) redeclare Real smee3.stator.V_m.re (447) [ALGB] (1) flow Real smee3.strayLoad.heatPort.Q_flow = -(-smee3.strayLoad.heatPort.Q_flow) (448) [ALGB] (1) redeclare Real smeeM.airGap.Phi_rr.re (449) [ALGB] (5) flow Real[5] terminalBoxM.plug_sn.pin.i (450) [ALGB] (1) flow Real smee3.rotorCage.star.pin_n.i (451) [ALGB] (3) Real[3] rotorAngle3.plug_n.pin.v (452) [ALGB] (1) redeclare Real smee3.excitation.electroMagneticConverter.V_m.re (453) [ALGB] (3) Real[3] rotorAngle3.VoltageSensor1.plug_n.pin.v (454) [ALGB] (1) redeclare Real smee3.airGap.V_msr.im (455) [ALGB] (5) flow Real[5] currentRMSsensorM.currentSensor.currentSensor.p.i (456) [ALGB] (3) Real[3] smee3.stator.plug_n.pin.v (457) [ALGB] (5) Real[5] smeeM.stator.resistor.resistor.n.v (458) [ALGB] (3) flow Real[3] sineVoltage3.plug_n.pin.i (459) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.plug_n.pin.i (460) [ALGB] (3) flow Real[3] rotorAngle3.plug_p.pin.i (461) [ALGB] (5) Real[5] terminalBoxM.plug_sn.pin.v (462) [ALGB] (3) flow Real[3] smee3.stator.plug_p.pin.i (463) [ALGB] (5) Real[5] smeeM.stator.resistor.heatPort.T (start = {288.15 for $i1 in 1:5}, min = {0.0 for $i1 in 1:5}, nominal = {300.0 for $i1 in 1:5}) (464) [ALGB] (3) flow Real[3] rotorAngle3.VoltageSensor1.plug_n.pin.i (465) [ALGB] (5) Real[5] currentRMSsensorM.plug_p.pin.v (466) [ALGB] (5) Real[5] smeeM.stator.resistor.resistor.i (467) [ALGB] (1) Real smeeM.excitation.port_p.V_m.im (468) [ALGB] (1) Real smeeM.airGap.port_rn.V_m.re (469) [ALGB] (1) flow Real smeeM.excitation.port_n.Phi.im (470) [ALGB] (1) final output Real smee3.powerBalance.lossPowerStatorWinding = sum(smee3.stator.resistor.resistor.LossPower) (471) [ALGB] (5) flow Real[5] terminalBoxM.plug_sp.pin.i (472) [ALGB] (3) Real[3] rotorAngle3.plug_p.pin.v (473) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_V_m = {Modelica.ComplexMath.'abs'(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m) for $singlePhaseElectroMagneticConverter1 in 1:5} (474) [ALGB] (1) Real smee3.stator.core.port_p.V_m.im (475) [ALGB] (1) flow Real smee3.stator.core.port_n.Phi.im (476) [ALGB] (1) Real smee3.excitation.reluctance.port_n.V_m.re (477) [ALGB] (1) flow Real smeeM.groundR.port_p.Phi.re (478) [ALGB] (3) Real[3] smee3.stator.plug_p.pin.v (479) [ALGB] (1) flow Real smeeM.fixed.flange.tau (480) [ALGB] (5) flow Real[5] currentRMSsensorM.plug_p.pin.i (481) [ALGB] (1) redeclare Real smeeM.excitation.V_m.re (482) [ALGB] (1) Real smee3.stator.arg_V_m = Modelica.ComplexMath.arg(smee3.stator.V_m, 0.0) (483) [ALGB] (5) Real[5] smeeM.stator.resistor.resistor.v (484) [ALGB] (2) flow Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im (485) [ALGB] (1) redeclare Real smee3.rotorCage.V_m.re (486) [ALGB] (5) Real[5] terminalBoxM.plug_sp.pin.v (487) [ALGB] (5) Real[5] currentRMSsensorM.plug_n.pin.v (488) [ALGB] (1) Real rotorAngle3.add.y (489) [ALGB] (3) Real[3] smee3.vs = smee3.plug_sp.pin.v - smee3.plug_sn.pin.v (490) [ALGB] (1) Real smee3.excitation.abs_V_m = Modelica.ComplexMath.'abs'(smee3.excitation.V_m) (491) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerRotorWinding = smeeM.damperCageLossPower (492) [ALGB] (1) Real smee3.rotorCage.abs_V_m = Modelica.ComplexMath.'abs'(smee3.rotorCage.V_m) (493) [ALGB] (1) Real smee3.stator.abs_Phi = Modelica.ComplexMath.'abs'(smee3.stator.Phi) (494) [ALGB] (1) flow Real smeeM.stator.core.port_p.Phi.im (495) [ALGB] (1) Real smee3.rotorCage.port_p.V_m.re (496) [ALGB] (1) flow Real smee3.rotorCage.port_n.Phi.re (497) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im (498) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im (499) [ALGB] (5) flow Real[5] currentRMSsensorM.plug_n.pin.i (500) [ALGB] (1) Real smee3.ve = rampCurrent3.n.v - 0.0 (501) [ALGB] (5) Real[5] electricalPowerSensorM.voltageSensor.voltageSensor.p.v (502) [ALGB] (5) Real[5] smeeM.thermalAmbient.thermalPort.heatPortStatorWinding.T (start = {288.15 for $i1 in 1:5}, min = {0.0 for $i1 in 1:5}, nominal = {300.0 for $i1 in 1:5}) (503) [ALGB] (1) flow Real smee3.stator.core.port_p.Phi.re (504) [ALGB] (1) Real smeeM.groundR.port_p.V_m.im (505) [ALGB] (5) flow Real[5] sineVoltageM.sineVoltage.p.i (506) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_V_m = {Modelica.ComplexMath.arg(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:5} (507) [ALGB] (2) redeclare Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im (508) [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} (509) [ALGB] (1) Real smeeM.excitation.resistor.v (510) [ALGB] (5) flow Real[5] electricalPowerSensorM.voltageSensor.voltageSensor.p.i (511) [ALGB] (1) redeclare Real smeeM.rotorCage.electroMagneticConverter.Phi.re = smeeM.rotorCage.electroMagneticConverter.port_p.Phi.re (512) [ALGB] (5) Real[5] currentRMSsensorM.currentSensor.currentSensor.n.v (513) [ALGB] (5) flow Real[5] smeeM.stator.plug_n.pin.i (514) [ALGB] (3) flow Real[3] smee3.stator.resistor.resistor.n.i (515) [ALGB] (5) Real[5] sineVoltageM.sineVoltage.p.v (516) [ALGB] (5) flow Real[5] smeeM.stator.resistor.resistor.p.i (517) [ALGB] (1) final output Real smeeM.powerBalance.powerExcitation = smeeM.ve * smeeM.ie (518) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_Phi = {Modelica.ComplexMath.'abs'(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi) for $singlePhaseElectroMagneticConverter1 in 1:5} (519) [ALGB] (1) redeclare Real smeeM.excitation.reluctance.V_m.re (520) [ALGB] (1) Real smee3.excitation.arg_V_m = Modelica.ComplexMath.arg(smee3.excitation.V_m, 0.0) (521) [ALGB] (1) redeclare Real smeeM.stator.strayReluctance.Phi.re (522) [ALGB] (1) Real smee3.rotorCage.port_n.V_m.im (523) [ALGB] (1) Real smee3.rotorCage.arg_V_m = Modelica.ComplexMath.arg(smee3.rotorCage.V_m, 0.0) (524) [ALGB] (5) flow Real[5] currentRMSsensorM.currentSensor.currentSensor.n.i (525) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re (526) [ALGB] (5) Real[5] smeeM.stator.plug_n.pin.v (527) [ALGB] (1) Real smee3.stator.arg_Phi = Modelica.ComplexMath.arg(smee3.stator.Phi, 0.0) (528) [ALGB] (1) Real smeeM.stator.strayReluctance.port_n.V_m.im (529) [ALGB] (3) Real[3] smee3.stator.resistor.resistor.n.v (530) [ALGB] (1) redeclare Real smee3.airGap.Phi_sr.im (531) [ALGB] (1) flow Real smeeM.rotorCage.port_p.Phi.re (532) [ALGB] (5) flow Real[5] smeeM.thermalAmbient.thermalCollectorStator.port_a.Q_flow (533) [ALGB] (5) Real[5] smeeM.stator.resistor.resistor.p.v (534) [ALGB] (1) redeclare Real smeeM.airGap.V_mss.im (535) [DER-] (1) redeclare Real $DER.smee3.excitation.electroMagneticConverter.Phi.re (536) [DER-] (1) Real $DER.mechanicalPowerSensorM.relSpeedSensor.phi_rel (537) [ALGB] (1) Real smee3.excitation.electroMagneticConverter.v (538) [ALGB] (5) flow Real[5] smeeM.stator.plug_p.pin.i (539) [ALGB] (1) Real smee3.excitation.abs_Phi = Modelica.ComplexMath.'abs'(smee3.excitation.Phi) (540) [ALGB] (1) flow Real smee3.airGap.port_sp.Phi.im (541) [ALGB] (1) final output Real smee3.powerBalance.lossPowerRotorWinding = smee3.damperCageLossPower (542) [ALGB] (1) Real smee3.rotorCage.abs_Phi = Modelica.ComplexMath.'abs'(smee3.rotorCage.Phi) (543) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_Phi = {Modelica.ComplexMath.'abs'(smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi) for $singlePhaseElectroMagneticConverter1 in 1:2} (544) [ALGB] (1) Real electricalPowerSensor3.P (545) [ALGB] (1) Real electricalPowerSensor3.Q (546) [ALGB] (1) redeclare Real smeeM.rotorCage.electroMagneticConverter.V_m.im (547) [ALGB] (1) final output Real smee3.powerBalance.powerInertiaRotor = smee3.inertiaRotor.a * smee3.inertiaRotor.J * smee3.inertiaRotor.w (548) [ALGB] (1) Real smeeM.stator.arg_Phi = Modelica.ComplexMath.arg(smeeM.stator.Phi, 0.0) (549) [ALGB] (1) redeclare Real smeeM.airGap.V_msr.re (550) [ALGB] (1) final output Real smee3.powerBalance.lossPowerExcitation = smee3.excitation.resistor.LossPower (551) [ALGB] (1) flow Real smee3.rotorCage.electroMagneticConverter.port_p.Phi.re (552) [ALGB] (5) Real[5] smeeM.stator.plug_p.pin.v (553) [DER-] (1) Real $DER.smeeM.phiMechanical (554) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerStrayLoad = -smeeM.strayLoad.heatPort.Q_flow (555) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_Phi = {Modelica.ComplexMath.arg(smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:5} (556) [ALGB] (1) redeclare Real smeeM.stator.strayReluctance.V_m.im (557) [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} (558) [ALGB] (1) Real smeeM.stator.strayReluctance.port_p.V_m.re (559) [ALGB] (1) flow Real smeeM.stator.strayReluctance.port_n.Phi.re (560) [ALGB] (1) flow Real smee3.rotorCage.strayReluctance.port_p.Phi.im (561) [ALGB] (1) flow Real smeeM.rotorCage.strayReluctance.port_n.Phi.re (562) [ALGB] (1) Real smeeM.rotorCage.port_p.V_m.im (563) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.port_p.V_m.re (564) [ALGB] (1) flow Real smeeM.rotorCage.port_n.Phi.im (565) [ALGB] (1) flow Real star3.pin_n.i (566) [ALGB] (5) flow Real[5] terminalBoxM.plugSupply.pin.i (567) [ALGB] (1) Real smeeM.stator.zeroInductor.v0 (568) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.v = smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v - smeeM.rotorCage.electroMagneticConverter.plug_n.pin.v (569) [ALGB] (1) redeclare Real smee3.rotorCage.electroMagneticConverter.Phi.im = smee3.rotorCage.electroMagneticConverter.port_p.Phi.im (570) [ALGB] (1) Real smee3.excitation.arg_Phi = Modelica.ComplexMath.arg(smee3.excitation.Phi, 0.0) (571) [ALGB] (5) Real[5] terminalBoxM.plugSupply.pin.v (572) [ALGB] (5) Real[5] electricalPowerSensorM.voltageSensor.voltageSensor.n.v (573) [ALGB] (1) Real smee3.stator.core.abs_V_m = Modelica.ComplexMath.'abs'(smee3.stator.core.V_m) (574) [ALGB] (1) Real smee3.rotorCage.arg_Phi = Modelica.ComplexMath.arg(smee3.rotorCage.Phi, 0.0) (575) [ALGB] (1) flow Real smee3.excitation.reluctance.port_p.Phi.im (576) [ALGB] (1) Real smee3.rotorCage.electroMagneticConverter.port_p.V_m.im (577) [ALGB] (1) flow Real smee3.rotorCage.electroMagneticConverter.port_n.Phi.im (578) [DER-] (1) Real $DER.smee3.strayLoad.phi (579) [ALGB] (1) Real smeeM.stator.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.stator.Phi) (580) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_V_m = {Modelica.ComplexMath.'abs'(smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m) for $singlePhaseElectroMagneticConverter1 in 1:3} (581) [ALGB] (1) Real smeeM.excitation.v = smeeM.brush.n.v - 0.0 (582) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.i = smeeM.rotorCage.electroMagneticConverter.plug_p.pin.i (583) [ALGB] (1) Real smeeM.tauShaft = -(-smeeM.tauShaft) (584) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re (585) [ALGB] (1) redeclare Real smeeM.rotorCage.V_m.re (586) [ALGB] (5) flow Real[5] electricalPowerSensorM.voltageSensor.voltageSensor.n.i (587) [ALGB] (1) flow Real smeeM.thermalAmbient.thermalPort.heatPortBrush.Q_flow (588) [ALGB] (3) flow Real[3] smee3.stator.resistor.resistor.p.i (589) [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} (590) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.port_n.V_m.im (591) [ALGB] (1) Real smeeM.stator.arg_V_m = Modelica.ComplexMath.arg(smeeM.stator.V_m, 0.0) (592) [ALGB] (1) Real smee3.excitation.port_n.V_m.re (593) [ALGB] (1) flow Real smee3.excitation.electroMagneticConverter.port_p.Phi.re (594) [ALGB] (3) Real[3] smee3.stator.resistor.resistor.p.v (595) [ALGB] (3) flow Real[3] sineVoltage3.sineVoltage.n.i (596) [ALGB] (3) flow Real[3] smee3.stator.resistor.heatPort.Q_flow (597) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.heatPort.Q_flow (598) [ALGB] (1) Real feedback.u1 (599) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.rotorCage.electroMagneticConverter.V_m) (600) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_V_m = {Modelica.ComplexMath.'abs'(smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m) for $singlePhaseElectroMagneticConverter1 in 1:2} (601) [ALGB] (1) flow Real mechanicalPowerSensor3.flange_a.tau (602) [ALGB] (1) Real smee3.stator.core.arg_V_m = Modelica.ComplexMath.arg(smee3.stator.core.V_m, 0.0) (603) [DER-] (1) Real $DER.constantSpeedM.phi (604) [ALGB] (1) final output Real smee3.powerBalance.powerMechanical = smee3.wMechanical * smee3.tauShaft (605) [ALGB] (1) Real smee3.stator.electroMagneticConverter.arg_Phi = Modelica.ComplexMath.arg(smee3.stator.electroMagneticConverter.Phi, 0.0) (606) [ALGB] (1) redeclare Real smee3.stator.electroMagneticConverter.V_m.re (607) [ALGB] (3) Real[3] sineVoltage3.sineVoltage.n.v (608) [ALGB] (1) redeclare Real smeeM.stator.Phi.im = smeeM.stator.port_p.Phi.im (609) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_V_m = {Modelica.ComplexMath.arg(smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:3} (610) [ALGB] (3) flow Real[3] currentRMSsensor3.plug_n.pin.i (611) [ALGB] (1) Real smee3.stator.port_n.V_m.re (612) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerRotorCore = 0.0 (613) [ALGB] (1) Real smeeM.excitation.reluctance.port_p.V_m.re (614) [ALGB] (1) flow Real smeeM.excitation.reluctance.port_n.Phi.re (615) [ALGB] (1) Real smee3.stator.core.abs_Phi = Modelica.ComplexMath.'abs'(smee3.stator.core.Phi) (616) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.port_n.V_m.im (617) [ALGB] (1) flow Real smeeM.airGap.port_sn.Phi.im (618) [ALGB] (1) Real smeeM.airGap.port_sp.V_m.im (619) [ALGB] (1) Real smee3.stator.electroMagneticConverter.port_p.V_m.im (620) [ALGB] (1) flow Real smee3.stator.electroMagneticConverter.port_n.Phi.im (621) [ALGB] (1) Real smeeM.stator.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.stator.V_m) (622) [ALGB] (1) redeclare Real smee3.excitation.reluctance.Phi.im (623) [ALGB] (3) Real[3] currentRMSsensor3.plug_n.pin.v (624) [ALGB] (5) Real[5] smeeM.plug_sp.pin.v (625) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_Phi = {Modelica.ComplexMath.'abs'(smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi) for $singlePhaseElectroMagneticConverter1 in 1:3} (626) [ALGB] (1) Real smee3.excitation.electroMagneticConverter.port_p.V_m.im (627) [ALGB] (1) flow Real smee3.excitation.electroMagneticConverter.port_n.Phi.im (628) [ALGB] (3) Real[3] smee3.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}) (629) [ALGB] (2) flow Real[2] smee3.rotorCage.thermalCollector.port_a.Q_flow (630) [ALGB] (3) flow Real[3] currentRMSsensor3.plug_p.pin.i (631) [ALGB] (5) Real[5] electricalPowerSensorM.nv.pin.v (632) [ALGB] (1) flow Real smee3.brush.heatPort.Q_flow = -(-smee3.brush.heatPort.Q_flow) (633) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.arg_V_m = Modelica.ComplexMath.arg(smeeM.rotorCage.electroMagneticConverter.V_m, 0.0) (634) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_V_m = {Modelica.ComplexMath.arg(smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:2} (635) [ALGB] (1) redeclare Real smee3.rotorCage.strayReluctance.V_m.im (636) [DER-] (3) redeclare Real[3] $DER.smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re (637) [ALGB] (5) redeclare Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im (638) [ALGB] (5) flow Real[5] smeeM.plug_sp.pin.i (639) [ALGB] (2) protected Real[2] electricalPowerSensor3.i_ (640) [ALGB] (1) Real smee3.stator.electroMagneticConverter.abs_Phi = Modelica.ComplexMath.'abs'(smee3.stator.electroMagneticConverter.Phi) (641) [ALGB] (1) Real smeeM.stator.core.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.stator.core.V_m) (642) [ALGB] (1) flow Real smeeM.inertiaRotor.flange_b.tau (643) [ALGB] (2) flow Real[2] smee3.rotorCage.resistor.resistor.heatPort.Q_flow = {-smee3.rotorCage.resistor.resistor[$resistor1].LossPower for $resistor1 in 1:2} (644) [ALGB] (3) Real[3] currentRMSsensor3.plug_p.pin.v (645) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerStatorWinding = sum(smeeM.stator.resistor.resistor.LossPower) (646) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowRotorWinding = smeeM.thermalAmbient.Q_flowRotorWinding (647) [ALGB] (5) flow Real[5] electricalPowerSensorM.nv.pin.i (648) [ALGB] (5) Real[5] smeeM.stator.resistor.resistor.T_heatPort (start = {288.15 for $i1 in 1:5}, min = {0.0 for $i1 in 1:5}, nominal = {300.0 for $i1 in 1:5}) (649) [ALGB] (1) redeclare Real smeeM.stator.electroMagneticConverter.V_m.re (650) [ALGB] (5) Real[5] smeeM.plug_sn.pin.v (651) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.port_n.V_m.im (652) [ALGB] (3) Real[3] smee3.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}) (653) [ALGB] (5) Real[5] currentRMSsensorM.currentSensor.i (654) [ALGB] (1) flow Real starM.pin_n.i (655) [ALGB] (1) Real smeeM.groundS.port_p.V_m.im (656) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowStatorCore = smeeM.thermalAmbient.Q_flowStatorCore (657) [ALGB] (1) flow Real smeeM.rotorCage.electroMagneticConverter.port_n.Phi.im (658) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.port_p.V_m.im (659) [ALGB] (3) flow Real[3] electricalPowerSensor3.plug_p.pin.i (660) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.rotorCage.electroMagneticConverter.Phi) (661) [ALGB] (1) Real smeeM.excitation.reluctance.port_n.V_m.im (662) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_Phi = {Modelica.ComplexMath.'abs'(smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi) for $singlePhaseElectroMagneticConverter1 in 1:2} (663) [ALGB] (1) flow Real smeeM.stator.electroMagneticConverter.port_n.Phi.re (664) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.port_p.V_m.re (665) [ALGB] (1) flow Real smeeM.airGap.port_sp.Phi.re (666) [ALGB] (3) Real[3] smee3.stator.resistor.resistor.i (667) [DER-] (1) Real $DER.smee3.inertiaRotor.w (668) [ALGB] (1) Real smee3.stator.core.arg_Phi = Modelica.ComplexMath.arg(smee3.stator.core.Phi, 0.0) (669) [ALGB] (5) Real[5] smeeM.stator.resistor.resistor.LossPower (670) [ALGB] (1) flow Real smee3.stator.electroMagneticConverter.port_p.Phi.re (671) [ALGB] (1) Real smee3.stator.electroMagneticConverter.arg_V_m = Modelica.ComplexMath.arg(smee3.stator.electroMagneticConverter.V_m, 0.0) (672) [ALGB] (5) Real[5] smeeM.internalThermalPort.heatPortStatorWinding.T (start = {288.15 for $i1 in 1:5}, min = {0.0 for $i1 in 1:5}, nominal = {300.0 for $i1 in 1:5}) (673) [ALGB] (5) flow Real[5] smeeM.plug_sn.pin.i (674) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.R_actual (675) [ALGB] (3) flow Real[3] rotorAngle3.VoltageSensor1.voltageSensor.n.i (676) [ALGB] (1) Real smee3.rotorCage.strayReluctance.port_n.V_m.re (677) [ALGB] (1) Real smeeM.irRMS (678) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_Phi = {Modelica.ComplexMath.arg(smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:3} (679) [ALGB] (3) Real[3] smee3.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}) (680) [ALGB] (3) Real[3] electricalPowerSensor3.plug_p.pin.v (681) [ALGB] (5) Real[5] electricalPowerSensorM.voltageSensor.voltageSensor.v (682) [ALGB] (1) Real smeeM.stator.port_n.V_m.re (683) [ALGB] (3) Real[3] smee3.stator.resistor.resistor.v (684) [ALGB] (2) Real[2] smee3.rotorCage.resistor.resistor.R_actual (685) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re (686) [ALGB] (1) Real smeeM.excitation.resistor.LossPower (687) [ALGB] (5) flow Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re (688) [ALGB] (1) redeclare Real smee3.rotorCage.strayReluctance.Phi.re (689) [DER-] (1) redeclare Real $DER.smeeM.excitation.electroMagneticConverter.Phi.im (690) [ALGB] (3) Real[3] rotorAngle3.VoltageSensor1.voltageSensor.n.v (691) [ALGB] (3) flow Real[3] sineVoltage3.sineVoltage.p.i (692) [ALGB] (1) Real smeeM.inertiaStator.a (693) [ALGB] (1) Real smeeM.stator.core.arg_V_m = Modelica.ComplexMath.arg(smeeM.stator.core.V_m, 0.0) (694) [ALGB] (2) Real[2] smee3.rotorCage.resistor.i (695) [DER-] (2) redeclare Real[2] $DER.smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re (696) [ALGB] (3) flow Real[3] terminalBox3.plug_sn.pin.i (697) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.port_p.V_m.re (698) [ALGB] (1) flow Real smeeM.excitation.electroMagneticConverter.port_n.Phi.re (699) [ALGB] (3) Real[3] sineVoltage3.v (700) [ALGB] (1) flow Real smeeM.rotorCage.electroMagneticConverter.port_p.Phi.re (701) [ALGB] (1) flow Real smeeM.groundS.port_p.Phi.re (702) [ALGB] (3) Real[3] sineVoltage3.sineVoltage.p.v (703) [ALGB] (2) Real[2] smee3.rotorCage.resistor.resistor.p.v (704) [ALGB] (1) Real smeeM.rotorCage.electroMagneticConverter.arg_Phi = Modelica.ComplexMath.arg(smeeM.rotorCage.electroMagneticConverter.Phi, 0.0) (705) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.arg_Phi = {Modelica.ComplexMath.arg(smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].Phi, 0.0) for $singlePhaseElectroMagneticConverter1 in 1:2} (706) [ALGB] (1) redeclare Real smeeM.airGap.Phi_sr.im (707) [ALGB] (1) Real smee3.stator.strayReluctance.port_p.V_m.re (708) [ALGB] (1) flow Real smee3.stator.strayReluctance.port_n.Phi.re (709) [ALGB] (1) Real rotorAngle3.relativeAngleSensor.phi_rel (710) [ALGB] (1) Real smee3.tauShaft = -(-smee3.tauShaft) (711) [ALGB] (3) Real[3] rotorAngle3.VoltageSensor1.voltageSensor.v (712) [ALGB] (5) Real[5] sineVoltageM.v (713) [ALGB] (1) Real smeeM.wMechanical = der(smeeM.phiMechanical) (start = 0.0) (714) [ALGB] (2) Real[2] smee3.rotorCage.resistor.v (715) [ALGB] (1) redeclare Real smee3.excitation.Phi.re = smee3.excitation.port_p.Phi.re (716) [ALGB] (1) redeclare Real smeeM.rotorCage.strayReluctance.Phi.im (717) [ALGB] (1) Real smee3.stator.electroMagneticConverter.abs_V_m = Modelica.ComplexMath.'abs'(smee3.stator.electroMagneticConverter.V_m) (718) [ALGB] (3) Real[3] terminalBox3.plug_sn.pin.v (719) [ALGB] (1) Real smeeM.stator.core.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.stator.core.Phi) (720) [ALGB] (3) Real[3] sineVoltage3.i (721) [ALGB] (1) Real smee3.airGap.port_rp.V_m.re (722) [ALGB] (1) flow Real smee3.airGap.port_rn.Phi.re (723) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.v (724) [ALGB] (5) flow Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.i (725) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im (726) [ALGB] (2) flow Real[2] smee3.rotorCage.resistor.resistor.p.i (727) [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}) (728) [ALGB] (1) redeclare Real smee3.airGap.V_mss.im (729) [ALGB] (1) flow Real smee3.excitation.port_p.Phi.im (730) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im (731) [ALGB] (1) final output Real smee3.powerBalance.lossPowerStrayLoad = -smee3.strayLoad.heatPort.Q_flow (732) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.i = smee3.stator.electroMagneticConverter.plug_p.pin.i (733) [ALGB] (3) flow Real[3] terminalBox3.plug_sp.pin.i (734) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.i (735) [ALGB] (1) flow Real groundR3.p.i (736) [ALGB] (5) Real[5] sineVoltageM.i (737) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.i (738) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v (739) [ALGB] (2) Real[2] smeeM.rotorCage.star.plug_p.pin.v (740) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.v = smee3.stator.electroMagneticConverter.plug_p.pin.v - smee3.stator.electroMagneticConverter.plug_n.pin.v (741) [ALGB] (3) Real[3] terminalBox3.plug_sp.pin.v (742) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.v (743) [ALGB] (1) redeclare Real smee3.excitation.electroMagneticConverter.V_m.im (744) [ALGB] (1) redeclare Real smee3.airGap.V_msr.re (745) [ALGB] (1) Real smee3.stator.strayReluctance.port_n.V_m.im (746) [ALGB] (1) flow Real smee3.stator.port_p.Phi.im (747) [ALGB] (1) final Real smee3.thermalAmbient.Q_flowStrayLoad = smee3.thermalAmbient.Q_flowStrayLoad (748) [ALGB] (2) flow Real[2] smeeM.rotorCage.star.plug_p.pin.i (749) [ALGB] (5) Real[5] electricalPowerSensorM.currentSensor.i (750) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.plug_p.pin.v (751) [ALGB] (1) flow Real smee3.groundR.port_p.Phi.im (752) [ALGB] (1) redeclare Real smee3.excitation.V_m.im (753) [ALGB] (1) Real smee3.friction.w (754) [ALGB] (1) Real smee3.excitation.reluctance.arg_Phi = Modelica.ComplexMath.arg(smee3.excitation.reluctance.Phi, 0.0) (755) [ALGB] (1) final output Real smee3.powerBalance.lossPowerTotal = smee3.powerBalance.lossPowerExcitation + smee3.powerBalance.lossPowerFriction + smee3.powerBalance.lossPowerRotorCore + smee3.powerBalance.lossPowerStatorWinding + smee3.powerBalance.lossPowerStatorCore + smee3.powerBalance.lossPowerStrayLoad + smee3.powerBalance.lossPowerRotorWinding + smee3.powerBalance.lossPowerBrush (756) [ALGB] (1) Real smee3.airGap.port_rn.V_m.im (757) [ALGB] (1) Real smeeM.stator.core.arg_Phi = Modelica.ComplexMath.arg(smeeM.stator.core.Phi, 0.0) (758) [ALGB] (3) flow Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re (759) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re (760) [ALGB] (1) Real smee3.airGap.rotator.im (761) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.i (762) [ALGB] (1) Real smeeM.airGap.port_rn.V_m.im (763) [ALGB] (1) flow Real smeeM.excitation.port_n.Phi.re (764) [ALGB] (1) Real smeeM.excitation.port_p.V_m.re (765) [ALGB] (5) Real[5] smeeM.stator.resistor.i (766) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.plug_n.pin.i (767) [ALGB] (3) flow Real[3] rotorAngle3.VoltageSensor1.voltageSensor.p.i (768) [ALGB] (5) flow Real[5] smeeM.stator.electroMagneticConverter.plug_p.pin.i (769) [ALGB] (1) redeclare Real smeeM.airGap.V_mrr.im (770) [ALGB] (1) redeclare Real smee3.stator.core.V_m.im (771) [ALGB] (2) Real[2] smee3.rotorCage.i = smee3.rotorCage.electroMagneticConverter.i (772) [ALGB] (1) redeclare Real smeeM.excitation.electroMagneticConverter.V_m.re (773) [ALGB] (1) Real smeeM.airGap.rotator.re (774) [ALGB] (1) redeclare Real smeeM.excitation.V_m.im (775) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.v (776) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.plug_n.pin.v (777) [ALGB] (5) Real[5] smeeM.stator.resistor.v (778) [ALGB] (3) Real[3] smee3.stator.resistor.resistor.LossPower (779) [ALGB] (1) redeclare Real smee3.rotorCage.V_m.im (780) [ALGB] (1) Real smee3.excitation.resistor.R_actual (781) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.plug_n.pin.v (782) [ALGB] (3) Real[3] rotorAngle3.VoltageSensor1.voltageSensor.p.v (783) [ALGB] (3) Real[3] sineVoltage3.sineVoltage.signalSource.y (784) [ALGB] (2) flow Real[2] smeeM.rotorCage.resistor.plug_p.pin.i (785) [ALGB] (5) flow Real[5] smeeM.stator.electroMagneticConverter.plug_n.pin.i (786) [DER-] (1) Real $DER.smee3.friction.phi (787) [ALGB] (5) Real[5] smeeM.vs = smeeM.plug_sp.pin.v - smeeM.plug_sn.pin.v (788) [ALGB] (3) Real[3] star3.plug_p.pin.v (789) [ALGB] (1) flow Real smeeM.stator.core.port_p.Phi.re (790) [ALGB] (2) Real[2] smee3.rotorCage.resistor.resistor.n.v (791) [ALGB] (1) Real smee3.excitation.reluctance.abs_Phi = Modelica.ComplexMath.'abs'(smee3.excitation.reluctance.Phi) (792) [ALGB] (5) Real[5] electricalPowerSensorM.currentSensor.currentSensor.i (793) [ALGB] (5) Real[5] electricalPowerSensorM.sum.u (794) [ALGB] (1) Real smeeM.airGap.port_rp.V_m.re (795) [ALGB] (1) flow Real smeeM.airGap.port_rn.Phi.re (796) [ALGB] (1) Real smeeM.excitation.port_n.V_m.im (797) [ALGB] (1) Real electricalPowerSensorM.sum.y (798) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.plug_p.pin.v (799) [ALGB] (2) Real[2] rotorAngle3.rotatorVS2R.u (800) [ALGB] (1) flow Real smee3.stator.core.port_p.Phi.im (801) [ALGB] (2) Real[2] smee3.rotorCage.resistor.resistor.heatPort.T = {smee3.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}) (802) [ALGB] (1) Real smeeM.groundR.port_p.V_m.re (803) [ALGB] (2) Real[2] rotorAngle3.rotatorVS2R.y (804) [ALGB] (1) Real smeeM.ve = rampCurrentM.n.v - 0.0 (805) [ALGB] (5) flow Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.i (806) [ALGB] (3) flow Real[3] star3.plug_p.pin.i (807) [ALGB] (1) flow Real smeeM.stator.port_p.Phi.im (808) [ALGB] (2) flow Real[2] smee3.rotorCage.resistor.resistor.n.i (809) [ALGB] (5) Real[5] smeeM.stator.i = smeeM.stator.plug_p.pin.i (810) [ALGB] (1) redeclare Real smeeM.excitation.Phi.re = smeeM.excitation.port_p.Phi.re (811) [ALGB] (3) Real[3] smee3.stator.resistor.resistor.heatPort.T = {smee3.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}) (812) [ALGB] (1) Real smee3.excitation.reluctance.arg_V_m = Modelica.ComplexMath.arg(smee3.excitation.reluctance.V_m, 0.0) (813) [ALGB] (2) Real[2] rotorAngle3.lessThreshold.u (814) [ALGB] (1) final output Real smee3.powerBalance.lossPowerRotorCore = 0.0 (815) [ALGB] (1) redeclare Real smee3.airGap.Phi_ss.im (816) [ALGB] (1) redeclare Real smee3.rotorCage.Phi.re = smee3.rotorCage.port_p.Phi.re (817) [ALGB] (1) Real rotorAngle3.lessThreshold.y (818) [DER-] (1) redeclare Real $DER.smee3.stator.core.Phi.im (819) [ALGB] (5) Real[5] electricalPowerSensorM.product.y (820) [ALGB] (1) Real $FUN_6 (821) [ALGB] (2) Real[2] $FUN_5 (822) [ALGB] (1) Real $FUN_4 (823) [DISC] (3) Boolean[3] $SEV_10[$i1] (824) [ALGB] (2) Real[2] $FUN_3 (825) [DISC] (1) Boolean $SEV_3 (826) [ALGB] (5) Real[5] smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v (827) [ALGB] (3) Real[3] $FUN_2 (828) [DISC] (1) Boolean $SEV_2 (829) [ALGB] (1) redeclare Real smeeM.excitation.reluctance.V_m.im (830) [DISC] (1) Boolean $SEV_1 (831) [ALGB] (5) Real[5] smeeM.stator.v = smeeM.stator.plug_p.pin.v - smeeM.stator.plug_n.pin.v (832) [DER-] (1) Real $DER.constantSpeedM.flange.phi (833) [ALGB] (1) Real smeeM.stator.core.port_p.V_m.im (834) [ALGB] (5) flow Real[5] electricalPowerSensorM.currentSensor.currentSensor.n.i (835) [ALGB] (1) flow Real smeeM.stator.core.port_n.Phi.im (836) [ALGB] (1) Real smee3.rotorCage.port_n.V_m.re (837) [ALGB] (2) flow Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im (838) [ALGB] (1) redeclare Real smee3.airGap.Phi_sr.re (839) [ALGB] (1) redeclare Real smeeM.airGap.V_mss.re (840) [ALGB] (1) Real smeeM.airGap.gamma (841) [ALGB] (5) Real[5] sineVoltageM.sineVoltage.i (842) [ALGB] (1) Real smee3.excitation.v = smee3.brush.n.v - 0.0 (843) [ALGB] (1) Real rampCurrentM.v (844) [ALGB] (3) flow Real[3] smee3.internalThermalPort.heatPortStatorWinding.Q_flow (845) [ALGB] (5) Real[5] electricalPowerSensorM.currentSensor.currentSensor.n.v (846) [ALGB] (1) final output Real smee3.powerBalance.lossPowerBrush = -smee3.brush.heatPort.Q_flow (847) [ALGB] (1) flow Real smee3.airGap.port_sp.Phi.re (848) [ALGB] (5) flow Real[5] smeeM.thermalAmbient.thermalPort.heatPortStatorWinding.Q_flow (849) [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}) (850) [ALGB] (1) Real rampCurrent3.v (851) [ALGB] (1) final Real smee3.thermalAmbient.Q_flowStatorCore = smee3.thermalAmbient.Q_flowStatorCore (852) [ALGB] (1) redeclare Real smeeM.rotorCage.electroMagneticConverter.V_m.re (853) [ALGB] (3) flow Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.i (854) [ALGB] (1) Real smee3.excitation.reluctance.abs_V_m = Modelica.ComplexMath.'abs'(smee3.excitation.reluctance.V_m) (855) [ALGB] (5) Real[5] sineVoltageM.sineVoltage.v (856) [ALGB] (1) final Real smee3.thermalAmbient.Q_flowRotorWinding = smee3.thermalAmbient.Q_flowRotorWinding (857) [ALGB] (1) flow Real smeeM.strayLoad.heatPort.Q_flow = -(-smeeM.strayLoad.heatPort.Q_flow) (858) [ALGB] (1) redeclare Real smeeM.excitation.reluctance.Phi.re (859) [ALGB] (1) Real smeeM.tauElectrical = smeeM.tauElectrical (860) [ALGB] (1) redeclare Real smeeM.stator.strayReluctance.V_m.re (861) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v (862) [DER-] (1) parameter Real $DER.smeeM.fixed.phi0 (863) [ALGB] (1) flow Real smeeM.stator.strayReluctance.port_n.Phi.im (864) [ALGB] (1) Real smeeM.stator.strayReluctance.port_p.V_m.im (865) [ALGB] (1) redeclare Real smee3.stator.strayReluctance.Phi.im (866) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.stator.electroMagneticConverter.V_m) (867) [ALGB] (1) flow Real smeeM.rotorCage.port_n.Phi.re (868) [ALGB] (1) Real smeeM.rotorCage.port_p.V_m.re (869) [ALGB] (5) Real[5] electricalPowerSensorM.nc.pin.v (870) [ALGB] (1) redeclare Real smeeM.stator.core.V_m.im (871) [ALGB] (1) Real smee3.groundS.port_p.V_m.re (872) [ALGB] (2) flow Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.i (873) [ALGB] (1) Real smee3.airGap.port_sp.V_m.im (874) [ALGB] (1) flow Real smee3.airGap.port_sn.Phi.im (875) [ALGB] (1) Real smeeM.inertiaRotor.a (876) [ALGB] (1) flow Real smee3.excitation.reluctance.port_p.Phi.re (877) [ALGB] (1) Real mechanicalPowerSensor3.relSpeedSensor.w_rel (878) [ALGB] (5) flow Real[5] electricalPowerSensorM.nc.pin.i (879) [ALGB] (1) Real smee3.rotorCage.electroMagneticConverter.port_p.V_m.re (880) [ALGB] (1) flow Real smee3.rotorCage.electroMagneticConverter.port_n.Phi.re (881) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v (882) [ALGB] (1) final Real smeeM.thermalAmbient.Q_flowFriction = smeeM.thermalAmbient.Q_flowFriction (883) [ALGB] (1) redeclare Real smee3.stator.Phi.im = smee3.stator.port_p.Phi.im (884) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im (885) [ALGB] (1) final output Real smeeM.powerBalance.lossPowerExcitation = smeeM.excitation.resistor.LossPower (886) [ALGB] (1) redeclare Real smeeM.rotorCage.V_m.im (887) [ALGB] (1) Real smeeM.excitation.abs_V_m = Modelica.ComplexMath.'abs'(smeeM.excitation.V_m) (888) [ALGB] (3) Real[3] terminalBox3.star.plug_p.pin.v (889) [ALGB] (1) flow Real smeeM.stator.strayReluctance.port_p.Phi.re (890) [ALGB] (2) Real[2] rotorAngle3.ToPolarVSR.u (891) [ALGB] (1) Real smeeM.rotorCage.strayReluctance.port_n.V_m.re (892) [ALGB] (1) Real smeeM.rotorCage.port_n.V_m.im (893) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.arg_V_m = Modelica.ComplexMath.arg(smeeM.stator.electroMagneticConverter.V_m, 0.0) (894) [ALGB] (1) Real rotorAngle3.ToSpacePhasorVS.zero (895) [ALGB] (2) Real[2] rotorAngle3.ToPolarVSR.y (896) [ALGB] (3) Real[3] sineVoltage3.sineVoltage.v (897) [ALGB] (5) flow Real[5] electricalPowerSensorM.currentSensor.currentSensor.p.i (898) [ALGB] (3) flow Real[3] terminalBox3.star.plug_p.pin.i (899) [DER-] (1) Real $DER.smeeM.inertiaStator.w (900) [ALGB] (1) final output Real smeeM.powerBalance.powerInertiaStator = smeeM.inertiaStator.a * smeeM.inertiaStator.J * smeeM.inertiaStator.w (901) [ALGB] (1) Real smee3.stator.core.port_n.V_m.re (902) [ALGB] (1) Real smee3.excitation.reluctance.port_p.V_m.im (903) [ALGB] (1) flow Real smee3.excitation.reluctance.port_n.Phi.im (904) [ALGB] (3) Real[3] sineVoltage3.sineVoltage.i (905) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.stator.electroMagneticConverter.Phi) (906) [ALGB] (1) Real smee3.rotorCage.electroMagneticConverter.port_n.V_m.im (907) [DER-] (1) redeclare Real $DER.smeeM.stator.core.Phi.im (908) [ALGB] (5) Real[5] electricalPowerSensorM.currentSensor.currentSensor.p.v (909) [ALGB] (3) Real[3] smee3.strayLoad.i (910) [ALGB] (3) Real[3] smee3.is = smee3.plug_sp.pin.i (start = {0.0 for $i1 in 1:3}) (911) [ALGB] (1) redeclare Real smeeM.stator.Phi.re = smeeM.stator.port_p.Phi.re (912) [ALGB] (2) flow Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re (913) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re (914) [ALGB] (2) Real[2] smee3.ir (fixed = {true for $i1 in 1:2}, start = {0.0 for $i1 in 1:2}) (915) [ALGB] (1) redeclare Real smeeM.rotorCage.Phi.re = smeeM.rotorCage.port_p.Phi.re (916) [ALGB] (3) flow Real[3] electricalPowerSensor3.plug_ni.pin.i (917) [ALGB] (3) flow Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.i (918) [ALGB] (3) Real[3] smee3.stator.i = smee3.stator.plug_p.pin.i (919) [ALGB] (1) final output Real smeeM.powerBalance.powerStator = Modelica.Electrical.MultiPhase.Functions.activePower(smeeM.vs, smeeM.is) (920) [ALGB] (1) Real smeeM.excitation.arg_V_m = Modelica.ComplexMath.arg(smeeM.excitation.V_m, 0.0) (921) [ALGB] (2) Real[2] smee3.rotorCage.star.plug_p.pin.v (922) [ALGB] (1) Real currentRMSsensor3.ToSpacePhasor1.zero (923) [ALGB] (3) Real[3] currentRMSsensor3.CurrentSensor1.currentSensor.p.v (924) [ALGB] (3) Real[3] smee3.strayLoad.v (925) [ALGB] (1) Real smee3.strayLoad.w (926) [ALGB] (1) Real smee3.ie = smee3.ie (927) [ALGB] (5) flow Real[5] electricalPowerSensorM.voltageSensor.plug_n.pin.i (928) [ALGB] (3) Real[3] electricalPowerSensor3.plug_ni.pin.v (929) [ALGB] (1) redeclare Real smee3.excitation.reluctance.Phi.re (930) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v (931) [ALGB] (3) Real[3] smee3.stator.v = smee3.stator.plug_p.pin.v - smee3.stator.plug_n.pin.v (932) [ALGB] (5) flow Real[5] smeeM.stator.resistor.plug_n.pin.i (933) [ALGB] (1) flow Real smee3.rotorCage.port_p.Phi.im (934) [ALGB] (1) Real smee3.excitation.electroMagneticConverter.port_p.V_m.re (935) [ALGB] (1) flow Real smee3.excitation.electroMagneticConverter.port_n.Phi.re (936) [ALGB] (2) Real[2] smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re (937) [ALGB] (2) flow Real[2] smee3.rotorCage.star.plug_p.pin.i (938) [ALGB] (3) Real[3] smee3.stator.resistor.resistor.R_actual (939) [ALGB] (1) Real smeeM.excitation.abs_Phi = Modelica.ComplexMath.'abs'(smeeM.excitation.Phi) (940) [ALGB] (3) flow Real[3] currentRMSsensor3.CurrentSensor1.currentSensor.p.i (941) [ALGB] (2) Real[2] smeeM.rotorCage.resistor.resistor.LossPower (942) [ALGB] (5) Real[5] electricalPowerSensorM.voltageSensor.plug_n.pin.v (943) [ALGB] (2) flow Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.i (944) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.arg_Phi = Modelica.ComplexMath.arg(smeeM.stator.electroMagneticConverter.Phi, 0.0) (945) [ALGB] (5) Real[5] smeeM.stator.resistor.plug_n.pin.v (946) [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}) (947) [ALGB] (1) redeclare Real smee3.airGap.V_mrr.im (948) [ALGB] (1) redeclare Real smeeM.stator.V_m.im (949) [ALGB] (2) Real[2] smee3.rotorCage.resistor.resistor.LossPower (950) [ALGB] (5) flow Real[5] electricalPowerSensorM.voltageSensor.plug_p.pin.i (951) [ALGB] (5) flow Real[5] smeeM.stator.resistor.plug_p.pin.i (952) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v (953) [ALGB] (1) final output Real smee3.powerBalance.powerInertiaStator = smee3.inertiaStator.a * smee3.inertiaStator.J * smee3.inertiaStator.w (954) [ALGB] (1) Real smeeM.excitation.reluctance.port_n.V_m.re (955) [ALGB] (1) Real smeeM.stator.electroMagneticConverter.port_p.V_m.im (956) [ALGB] (1) flow Real smeeM.stator.electroMagneticConverter.port_n.Phi.im (957) [ALGB] (1) flow Real smeeM.airGap.port_sp.Phi.im (958) [ALGB] (1) flow Real smee3.stator.electroMagneticConverter.port_p.Phi.im (959) [ALGB] (1) redeclare Real smee3.excitation.reluctance.V_m.im (960) [ALGB] (5) Real[5] electricalPowerSensorM.voltageSensor.plug_p.pin.v (961) [DER-] (1) Real $DER.smee3.stator.zeroInductor.i0 (962) [ALGB] (1) Real smee3.excitation.electroMagneticConverter.port_n.V_m.im (963) [ALGB] (5) Real[5] smeeM.stator.resistor.plug_p.pin.v (964) [ALGB] (1) Real smee3.rotorCage.strayReluctance.port_n.V_m.im (965) [ALGB] (1) Real smee3.rotorCage.electroMagneticConverter.arg_Phi = Modelica.ComplexMath.arg(smee3.rotorCage.electroMagneticConverter.Phi, 0.0) (966) [ALGB] (1) Real rotorAngle3.wrapAngle.y (967) [ALGB] (1) Real smeeM.excitation.arg_Phi = Modelica.ComplexMath.arg(smeeM.excitation.Phi, 0.0) (968) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.i = smee3.rotorCage.electroMagneticConverter.plug_p.pin.i (969) [ALGB] (5) Real[5] electricalPowerSensorM.pv.pin.v (970) [ALGB] (1) redeclare Real smee3.rotorCage.strayReluctance.Phi.im (971) [DER-] (1) redeclare Real $DER.smeeM.excitation.electroMagneticConverter.Phi.re (972) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.arg_Phi = Modelica.ComplexMath.arg(smeeM.excitation.electroMagneticConverter.Phi, 0.0) (973) [ALGB] (1) redeclare Real smeeM.airGap.Phi_ss.im (974) [ALGB] (5) Real[5] sineVoltageM.sineVoltage.signalSource.y (975) [DER-] (2) redeclare Real[2] $DER.smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im (976) [ALGB] (2) Real[2] smee3.rotorCage.electroMagneticConverter.v = smee3.rotorCage.electroMagneticConverter.plug_p.pin.v - smee3.rotorCage.electroMagneticConverter.plug_n.pin.v (977) [ALGB] (5) flow Real[5] electricalPowerSensorM.pv.pin.i (978) [ALGB] (1) flow Real smeeM.excitation.electroMagneticConverter.port_n.Phi.im (979) [ALGB] (1) Real smeeM.excitation.electroMagneticConverter.port_p.V_m.im (980) [ALGB] (1) flow Real smeeM.groundS.port_p.Phi.im (981) [ALGB] (1) flow Real smeeM.rotorCage.electroMagneticConverter.port_p.Phi.im (982) [ALGB] (4) protected Real[2, 2] rotorAngle3.rotatorVS2R.RotationMatrix = {{cos(-rotorAngle3.add.y), -sin(-rotorAngle3.add.y)}, {sin(-rotorAngle3.add.y), cos(-rotorAngle3.add.y)}} (983) [ALGB] (1) flow Real smeeM.stator.electroMagneticConverter.port_p.Phi.re (984) [ALGB] (3) Real[3] smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.v (985) [ALGB] (1) Real smee3.stator.zeroInductor.v0 System Equations (1051/2005) ****************************** (1) [FOR-] (3) ($RES_SIM_989) (1) [----] for $i1 in 1:3 loop (1) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].n.i - smee3.stator.resistor.plug_n.pin[$i1].i = 0.0 ($RES_SIM_990) (1) [----] end for; (2) [SCAL] (1) rotorAngle3.ToPolarVSR.y[2] = if noEvent($SEV_3) then 0.0 else $FUN_19 ($RES_SIM_71) (3) [SCAL] (1) rotorAngle3.ToPolarVSR.y[1] = $FUN_18 ($RES_SIM_72) (4) [ARRY] (2) rotorAngle3.rotatorVS2R.y = rotorAngle3.rotatorVS2R.RotationMatrix * rotorAngle3.rotatorVS2R.u ($RES_SIM_73) (5) [SCAL] (1) rotorAngle3.add.y = rotorAngle3.add.k1 * rotorAngle3.relativeAngleSensor.phi_rel + rotorAngle3.add.k2 * rotorAngle3.constant_.k ($RES_SIM_74) (6) [SCAL] (1) rotorAngle3.relativeAngleSensor.phi_rel = constantSpeed3.flange.phi - rotorAngle3.fixed.phi0 ($RES_SIM_78) (7) [ARRY] (2) rotorAngle3.ToSpacePhasorVS.y = rotorAngle3.ToSpacePhasorVS.TransformationMatrix * rotorAngle3.ToSpacePhasorVS.u ($RES_SIM_79) (8) [SCAL] (1) smee3.stator.core.arg_Phi = Modelica.Math.atan3(smee3.stator.core.Phi.im, smee3.stator.core.Phi.re, 0.0) ($RES_BND_1419) (9) [SCAL] (1) smee3.stator.core.abs_Phi = (smee3.stator.core.Phi.re ^ 2.0 + smee3.stator.core.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1418) (10) [SCAL] (1) smee3.stator.core.arg_V_m = Modelica.Math.atan3(smee3.stator.core.V_m.im, smee3.stator.core.V_m.re, 0.0) ($RES_BND_1417) (11) [SCAL] (1) smee3.stator.core.abs_V_m = (smee3.stator.core.V_m.re ^ 2.0 + smee3.stator.core.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1416) (12) [FOR-] (3) ($RES_BND_1414) (12) [----] for $i1 in 1:3 loop (12) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].heatPort.T = smee3.stator.resistor.resistor[$i1].T_heatPort ($RES_BND_1415) (12) [----] end for; (13) [FOR-] (3) ($RES_BND_1412) (13) [----] for $i1 in 1:3 loop (13) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].heatPort.Q_flow = -smee3.stator.resistor.resistor[$i1].LossPower ($RES_BND_1413) (13) [----] end for; (14) [ARRY] (3) smee3.stator.resistor.resistor.n.v = smee3.stator.resistor.plug_n.pin.v ($RES_SIM_991) (15) [FOR-] (3) ($RES_BND_1410) (15) [----] for $i1 in 1:3 loop (15) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].abs_V_m = (smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re ^ 2.0 + smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1411) (15) [----] end for; (16) [FOR-] (3) ($RES_SIM_992) (16) [----] for $i1 in 1:3 loop (16) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].p.i - smee3.stator.resistor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_993) (16) [----] end for; (17) [ARRY] (3) smee3.stator.resistor.resistor.p.v = smee3.stator.resistor.plug_p.pin.v ($RES_SIM_994) (18) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.V_m.im = smee3.stator.electroMagneticConverter.port_n.V_m.im ($RES_SIM_995) (19) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.V_m.re = smee3.stator.electroMagneticConverter.port_n.V_m.re ($RES_SIM_996) (20) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.im = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.V_m.im ($RES_SIM_997) (21) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.re = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.V_m.re ($RES_SIM_998) (22) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.im = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.im ($RES_SIM_999) (23) [FOR-] (3) ($RES_SIM_81) (23) [----] for $i1 in 1:3 loop (23) [----] [SCAL] (1) rotorAngle3.VoltageSensor1.voltageSensor[$i1].v = rotorAngle3.VoltageSensor1.voltageSensor[$i1].p.v - rotorAngle3.VoltageSensor1.voltageSensor[$i1].n.v ($RES_SIM_82) (23) [----] end for; (24) [FOR-] (3) ($RES_SIM_83) (24) [----] for $i1 in 1:3 loop (24) [----] [SCAL] (1) rotorAngle3.VoltageSensor1.voltageSensor[$i1].n.i = 0.0 ($RES_SIM_84) (24) [----] end for; (25) [FOR-] (3) ($RES_SIM_85) (25) [----] for $i1 in 1:3 loop (25) [----] [SCAL] (1) rotorAngle3.VoltageSensor1.voltageSensor[$i1].p.i = 0.0 ($RES_SIM_86) (25) [----] end for; (26) [SCAL] (1) rampCurrent3.v = -rampCurrent3.n.v ($RES_SIM_89) (27) [FOR-] (3) ($RES_BND_1408) (27) [----] for $i1 in 1:3 loop (27) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].arg_V_m = Modelica.Math.atan3(smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im, smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re, 0.0) ($RES_BND_1409) (27) [----] end for; (28) [FOR-] (3) ($RES_BND_1406) (28) [----] for $i1 in 1:3 loop (28) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].abs_Phi = (smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re ^ 2.0 + smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1407) (28) [----] end for; (29) [FOR-] (3) ($RES_BND_1404) (29) [----] for $i1 in 1:3 loop (29) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].arg_Phi = Modelica.Math.atan3(smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im, smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re, 0.0) ($RES_BND_1405) (29) [----] end for; (30) [SCAL] (1) smee3.stator.electroMagneticConverter.arg_Phi = Modelica.Math.atan3(smee3.stator.electroMagneticConverter.Phi.im, smee3.stator.electroMagneticConverter.Phi.re, 0.0) ($RES_BND_1403) (31) [SCAL] (1) smee3.stator.electroMagneticConverter.abs_Phi = (smee3.stator.electroMagneticConverter.Phi.re ^ 2.0 + smee3.stator.electroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1402) (32) [SCAL] (1) smee3.stator.electroMagneticConverter.arg_V_m = Modelica.Math.atan3(smee3.stator.electroMagneticConverter.V_m.im, smee3.stator.electroMagneticConverter.V_m.re, 0.0) ($RES_BND_1401) (33) [SCAL] (1) smee3.stator.electroMagneticConverter.abs_V_m = (smee3.stator.electroMagneticConverter.V_m.re ^ 2.0 + smee3.stator.electroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1400) (34) [SCAL] (1) smee3.ie = rampCurrent3.signalSource.offset + (if $TEV_0 then 0.0 else if $TEV_1 then (rampCurrent3.signalSource.height * (time - rampCurrent3.signalSource.startTime)) / rampCurrent3.signalSource.duration else rampCurrent3.signalSource.height) ($RES_SIM_91) (35) [SCAL] (1) rampCurrentM.v = -rampCurrentM.n.v ($RES_SIM_94) (36) [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_96) (37) [FOR-] (3) ($RES_EVT_1712) (37) [----] for $i1 in 1:3 loop (37) [----] [SCAL] (1) $SEV_10[$i1] = time < sineVoltage3.sineVoltage[$i1].signalSource.startTime ($RES_EVT_1713) (37) [----] end for; (38) [FOR-] (5) ($RES_EVT_1710) (38) [----] for $i1 in 1:5 loop (38) [----] [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_1711) (38) [----] end for; (39) [FOR-] (2) ($RES_EVT_1708) (39) [----] for $i1 in 1:2 loop (39) [----] [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_1709) (39) [----] end for; (40) [FOR-] (3) ($RES_EVT_1705) (40) [----] for $i1 in 1:3 loop (40) [----] [SCAL] (1) $SEV_6[$i1] = 1.0 + smee3.stator.resistor.resistor[$i1].alpha * (smee3.stator.resistor.resistor[$i1].T_heatPort - smee3.stator.resistor.resistor[$i1].T_ref) >= 1e-15 ($RES_EVT_1706) (40) [----] end for; (41) [FOR-] (2) ($RES_EVT_1703) (41) [----] for $i1 in 1:2 loop (41) [----] [SCAL] (1) $SEV_5[$i1] = 1.0 + smee3.rotorCage.resistor.resistor[$i1].alpha * (smee3.rotorCage.resistor.resistor[$i1].T_heatPort - smee3.rotorCage.resistor.resistor[$i1].T_ref) >= 1e-15 ($RES_EVT_1704) (41) [----] end for; (42) [SCAL] (1) $SEV_3 = rotorAngle3.ToPolarVSR.y[1] <= 1e-60 ($RES_EVT_1701) (43) [SCAL] (1) $SEV_2 = rotorAngle3.lessThreshold.u[1] < rotorAngle3.lessThreshold.threshold ($RES_EVT_1700) (44) [ARRY] (3) smee3.thermalAmbient.thermalCollectorStator.port_a.T = {smee3.thermalAmbient.constTs.k for $i1 in 1:3} ($RES_SIM_206) (45) [FOR-] (5) ($RES_SIM_8) (45) [----] for $i1 in 1:5 loop (45) [----] [SCAL] (1) 0.0 = sineVoltageM.sineVoltage[$i1].p.i + sineVoltageM.sineVoltage[$i1].n.i ($RES_SIM_9) (45) [----] end for; (46) [FOR-] (5) ($RES_SIM_6) (46) [----] for $i1 in 1:5 loop (46) [----] [SCAL] (1) sineVoltageM.sineVoltage[$i1].i = sineVoltageM.sineVoltage[$i1].p.i ($RES_SIM_7) (46) [----] end for; (47) [ARRY] (5) sineVoltageM.v = sineVoltageM.plug_p.pin.v - sineVoltageM.plug_n.pin.v ($RES_SIM_5) (48) [ARRY] (5) sineVoltageM.i = sineVoltageM.plug_p.pin.i ($RES_SIM_4) (49) [SCAL] (1) smeeM.stator.V_m.im = smeeM.stator.port_p.V_m.im - smeeM.stator.port_n.V_m.im ($RES_SIM_1686) (50) [SCAL] (1) smeeM.stator.V_m.re = smeeM.stator.port_p.V_m.re - smeeM.stator.port_n.V_m.re ($RES_SIM_1685) (51) [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_1684) (52) [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_1683) (53) [SCAL] (1) smeeM.rotorCage.V_m.im = smeeM.rotorCage.port_p.V_m.im - smeeM.rotorCage.port_n.V_m.im ($RES_SIM_1682) (54) [SCAL] (1) smeeM.rotorCage.V_m.re = smeeM.rotorCage.port_p.V_m.re - smeeM.rotorCage.port_n.V_m.re ($RES_SIM_1681) (55) [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_1680) (56) [RECD] (2) smee3.stator.strayReluctance.port_p.Phi = smee3.stator.strayReluctance.Phi ($RES_SIM_215) (57) [SCAL] (1) 1.5707963267948966 * smee3.stator.strayReluctance.V_m.im = smee3.stator.strayReluctance.R_m.q * smee3.stator.strayReluctance.Phi.im ($RES_SIM_217) (58) [SCAL] (1) 1.5707963267948966 * smee3.stator.strayReluctance.V_m.re = smee3.stator.strayReluctance.R_m.d * smee3.stator.strayReluctance.Phi.re ($RES_SIM_218) (59) [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_1679) (60) [SCAL] (1) smeeM.excitation.V_m.im = smeeM.excitation.port_p.V_m.im - smeeM.excitation.port_n.V_m.im ($RES_SIM_1678) (61) [SCAL] (1) smeeM.excitation.V_m.re = smeeM.excitation.port_p.V_m.re - smeeM.excitation.port_n.V_m.re ($RES_SIM_1677) (62) [SCAL] (1) smee3.stator.V_m.im = smee3.stator.port_p.V_m.im - smee3.stator.port_n.V_m.im ($RES_SIM_1676) (63) [SCAL] (1) smee3.stator.V_m.re = smee3.stator.port_p.V_m.re - smee3.stator.port_n.V_m.re ($RES_SIM_1675) (64) [SCAL] (1) smee3.stator.electroMagneticConverter.V_m.im = smee3.stator.electroMagneticConverter.port_p.V_m.im - smee3.stator.electroMagneticConverter.port_n.V_m.im ($RES_SIM_1674) (65) [SCAL] (1) smee3.stator.electroMagneticConverter.V_m.re = smee3.stator.electroMagneticConverter.port_p.V_m.re - smee3.stator.electroMagneticConverter.port_n.V_m.re ($RES_SIM_1673) (66) [SCAL] (1) smee3.rotorCage.V_m.im = smee3.rotorCage.port_p.V_m.im - smee3.rotorCage.port_n.V_m.im ($RES_SIM_1672) (67) [SCAL] (1) smee3.rotorCage.V_m.re = smee3.rotorCage.port_p.V_m.re - smee3.rotorCage.port_n.V_m.re ($RES_SIM_1671) (68) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.V_m.im = smee3.rotorCage.electroMagneticConverter.port_p.V_m.im - smee3.rotorCage.electroMagneticConverter.port_n.V_m.im ($RES_SIM_1670) (69) [RECD] (2) smee3.stator.core.port_p.Phi = smee3.stator.core.Phi ($RES_SIM_220) (70) [ARRY] (5) smeeM.stator.resistor.i = smeeM.stator.resistor.plug_p.pin.i ($RES_SIM_400) (71) [ARRY] (5) smeeM.stator.resistor.v = smeeM.stator.resistor.plug_p.pin.v - smeeM.stator.resistor.plug_n.pin.v ($RES_SIM_401) (72) [SCAL] (1) smee3.stator.core.V_m.im = 0.0 ($RES_SIM_222) (73) [FOR-] (5) ($RES_SIM_402) (73) [----] for $i1 in 1:5 loop (73) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].i = smeeM.stator.resistor.resistor[$i1].p.i ($RES_SIM_403) (73) [----] end for; (74) [SCAL] (1) smee3.stator.core.V_m.re = 0.0 ($RES_SIM_223) (75) [SCAL] (1) smee3.stator.core.lossPower = 1.5707963267948966 * (smee3.stator.core.V_m.re * $DER.smee3.stator.core.Phi.re + smee3.stator.core.V_m.im * $DER.smee3.stator.core.Phi.im) ($RES_SIM_224) (76) [FOR-] (5) ($RES_SIM_404) (76) [----] for $i1 in 1:5 loop (76) [----] [SCAL] (1) 0.0 = smeeM.stator.resistor.resistor[$i1].p.i + smeeM.stator.resistor.resistor[$i1].n.i ($RES_SIM_405) (76) [----] end for; (77) [ARRY] (3) smee3.stator.resistor.i = smee3.stator.resistor.plug_p.pin.i ($RES_SIM_225) (78) [ARRY] (3) smee3.stator.resistor.v = smee3.stator.resistor.plug_p.pin.v - smee3.stator.resistor.plug_n.pin.v ($RES_SIM_226) (79) [FOR-] (5) ($RES_SIM_406) (79) [----] for $i1 in 1:5 loop (79) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].v = smeeM.stator.resistor.resistor[$i1].p.v - smeeM.stator.resistor.resistor[$i1].n.v ($RES_SIM_407) (79) [----] end for; (80) [FOR-] (3) ($RES_SIM_227) (80) [----] for $i1 in 1:3 loop (80) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].i = smee3.stator.resistor.resistor[$i1].p.i ($RES_SIM_228) (80) [----] end for; (81) [FOR-] (5) ($RES_SIM_408) (81) [----] for $i1 in 1:5 loop (81) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].LossPower = smeeM.stator.resistor.resistor[$i1].v * smeeM.stator.resistor.resistor[$i1].i ($RES_SIM_409) (81) [----] end for; (82) [FOR-] (3) ($RES_SIM_229) (82) [----] for $i1 in 1:3 loop (82) [----] [SCAL] (1) 0.0 = smee3.stator.resistor.resistor[$i1].p.i + smee3.stator.resistor.resistor[$i1].n.i ($RES_SIM_230) (82) [----] end for; (83) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.V_m.re = smee3.rotorCage.electroMagneticConverter.port_p.V_m.re - smee3.rotorCage.electroMagneticConverter.port_n.V_m.re ($RES_SIM_1669) (84) [SCAL] (1) smee3.excitation.V_m.im = smee3.excitation.port_p.V_m.im - smee3.excitation.port_n.V_m.im ($RES_SIM_1668) (85) [SCAL] (1) smee3.excitation.V_m.re = smee3.excitation.port_p.V_m.re - smee3.excitation.port_n.V_m.re ($RES_SIM_1667) (86) [SCAL] (1) smee3.excitation.reluctance.port_p.Phi.im + smee3.excitation.reluctance.port_n.Phi.im = 0.0 ($RES_SIM_1666) (87) [SCAL] (1) smee3.excitation.reluctance.port_p.Phi.re + smee3.excitation.reluctance.port_n.Phi.re = 0.0 ($RES_SIM_1665) (88) [SCAL] (1) smee3.excitation.reluctance.V_m.im = smee3.excitation.reluctance.port_p.V_m.im - smee3.excitation.reluctance.port_n.V_m.im ($RES_SIM_1664) (89) [SCAL] (1) smee3.excitation.reluctance.V_m.re = smee3.excitation.reluctance.port_p.V_m.re - smee3.excitation.reluctance.port_n.V_m.re ($RES_SIM_1663) (90) [SCAL] (1) smee3.excitation.electroMagneticConverter.V_m.im = 0.6366197723675814 * smee3.excitation.electroMagneticConverter.N.im * smee3.ie ($RES_SIM_1662) (91) [SCAL] (1) smee3.excitation.electroMagneticConverter.V_m.re = 0.6366197723675814 * smee3.excitation.electroMagneticConverter.N.re * smee3.ie ($RES_SIM_1661) (92) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_p.V_m.im - smee3.excitation.electroMagneticConverter.port_n.V_m.im = smee3.excitation.electroMagneticConverter.V_m.im ($RES_SIM_1660) (93) [FOR-] (5) ($RES_SIM_410) (93) [----] for $i1 in 1:5 loop (93) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].v = smeeM.stator.resistor.resistor[$i1].R_actual * smeeM.stator.resistor.resistor[$i1].i ($RES_SIM_411) (93) [----] end for; (94) [FOR-] (3) ($RES_SIM_231) (94) [----] for $i1 in 1:3 loop (94) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].v = smee3.stator.resistor.resistor[$i1].p.v - smee3.stator.resistor.resistor[$i1].n.v ($RES_SIM_232) (94) [----] end for; (95) [FOR-] (5) ($RES_SIM_412) (95) [----] for $i1 in 1:5 loop (95) [----] [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_413) (95) [----] end for; (96) [FOR-] (3) ($RES_SIM_233) (96) [----] for $i1 in 1:3 loop (96) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].LossPower = smee3.stator.resistor.resistor[$i1].v * smee3.stator.resistor.resistor[$i1].i ($RES_SIM_234) (96) [----] end for; (97) [FOR-] (3) ($RES_SIM_235) (97) [----] for $i1 in 1:3 loop (97) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].v = smee3.stator.resistor.resistor[$i1].R_actual * smee3.stator.resistor.resistor[$i1].i ($RES_SIM_236) (97) [----] end for; (98) [ARRY] (5) smeeM.stator.zeroInductor.i = smeeM.stator.zeroInductor.plug_p.pin.i ($RES_SIM_416) (99) [FOR-] (3) ($RES_SIM_237) (99) [----] for $i1 in 1:3 loop (99) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].R_actual = smee3.stator.resistor.resistor[$i1].R * (1.0 + smee3.stator.resistor.resistor[$i1].alpha * (smee3.stator.resistor.resistor[$i1].T_heatPort - smee3.stator.resistor.resistor[$i1].T_ref)) ($RES_SIM_238) (99) [----] end for; (100) [ARRY] (5) smeeM.stator.zeroInductor.v = smeeM.stator.zeroInductor.plug_p.pin.v - smeeM.stator.zeroInductor.plug_n.pin.v ($RES_SIM_417) (101) [ARRY] (5) smeeM.stator.zeroInductor.plug_p.pin.i + smeeM.stator.zeroInductor.plug_n.pin.i = {0.0 for $i1 in 1:5} ($RES_SIM_418) (102) [ARRY] (5) smeeM.stator.zeroInductor.v = {smeeM.stator.zeroInductor.v0 for $i1 in 1:5} ($RES_SIM_419) (103) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_p.V_m.re - smee3.excitation.electroMagneticConverter.port_n.V_m.re = smee3.excitation.electroMagneticConverter.V_m.re ($RES_SIM_1659) (104) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_p.Phi.im + smee3.excitation.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_1658) (105) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_p.Phi.re + smee3.excitation.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_1657) (106) [SCAL] (1) smee3.rotorCage.strayReluctance.port_p.Phi.im + smee3.rotorCage.strayReluctance.port_n.Phi.im = 0.0 ($RES_SIM_1656) (107) [SCAL] (1) smee3.rotorCage.strayReluctance.port_p.Phi.re + smee3.rotorCage.strayReluctance.port_n.Phi.re = 0.0 ($RES_SIM_1655) (108) [SCAL] (1) smee3.rotorCage.strayReluctance.V_m.im = smee3.rotorCage.strayReluctance.port_p.V_m.im - smee3.rotorCage.strayReluctance.port_n.V_m.im ($RES_SIM_1654) (109) [SCAL] (1) smee3.rotorCage.strayReluctance.V_m.re = smee3.rotorCage.strayReluctance.port_p.V_m.re - smee3.rotorCage.strayReluctance.port_n.V_m.re ($RES_SIM_1653) (110) [FOR-] (2) ($RES_SIM_1651) (110) [----] for $i1 in 1:2 loop (110) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.im = 0.6366197723675814 * smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.im * smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i ($RES_SIM_1652) (110) [----] end for; (111) [SCAL] (1) smeeM.stator.zeroInductor.v0 = smeeM.stator.zeroInductor.Lzero * $DER.smeeM.stator.zeroInductor.i0 ($RES_SIM_420) (112) [ARRY] (3) smee3.stator.zeroInductor.i = smee3.stator.zeroInductor.plug_p.pin.i ($RES_SIM_241) (113) [ARRY] (3) smee3.stator.zeroInductor.v = smee3.stator.zeroInductor.plug_p.pin.v - smee3.stator.zeroInductor.plug_n.pin.v ($RES_SIM_242) (114) [FOR-] (5) ($RES_SIM_422) (114) [----] for $i1 in 1:5 loop (114) [----] [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_423) (114) [----] end for; (115) [ARRY] (3) smee3.stator.zeroInductor.plug_p.pin.i + smee3.stator.zeroInductor.plug_n.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_243) (116) [ARRY] (3) smee3.stator.zeroInductor.v = {smee3.stator.zeroInductor.v0 for $i1 in 1:3} ($RES_SIM_244) (117) [SCAL] (1) smee3.stator.zeroInductor.v0 = smee3.stator.zeroInductor.Lzero * $DER.smee3.stator.zeroInductor.i0 ($RES_SIM_245) (118) [FOR-] (5) ($RES_SIM_604) (118) [----] for $i1 in 1:5 loop (118) [----] [SCAL] (1) smeeM.internalThermalPort.heatPortStatorWinding[$i1].Q_flow = 0.0 ($RES_SIM_605) (118) [----] end for; (119) [FOR-] (5) ($RES_SIM_426) (119) [----] for $i1 in 1:5 loop (119) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i = 0.0 ($RES_SIM_427) (119) [----] end for; (120) [FOR-] (3) ($RES_SIM_247) (120) [----] for $i1 in 1:3 loop (120) [----] [SCAL] (1) -smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].v = $DER.smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi.re * smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.re + $DER.smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi.im * smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.im ($RES_SIM_248) (120) [----] end for; (121) [SCAL] (1) smeeM.thermalAmbient.Q_flowFriction + smeeM.friction.heatPort.Q_flow = 0.0 ($RES_SIM_606) (122) [SCAL] (1) smeeM.thermalAmbient.Q_flowStrayLoad + smeeM.strayLoad.heatPort.Q_flow = 0.0 ($RES_SIM_607) (123) [FOR-] (5) ($RES_SIM_428) (123) [----] for $i1 in 1:5 loop (123) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i ($RES_SIM_429) (123) [----] end for; (124) [SCAL] (1) smeeM.tauShaft + smeeM.inertiaRotor.flange_b.tau = 0.0 ($RES_SIM_608) (125) [FOR-] (2) ($RES_SIM_1649) (125) [----] for $i1 in 1:2 loop (125) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.re = 0.6366197723675814 * smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.re * smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i ($RES_SIM_1650) (125) [----] end for; (126) [FOR-] (2) ($RES_SIM_1647) (126) [----] for $i1 in 1:2 loop (126) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im - smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im = smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.im ($RES_SIM_1648) (126) [----] end for; (127) [FOR-] (2) ($RES_SIM_1645) (127) [----] for $i1 in 1:2 loop (127) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re - smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re = smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.re ($RES_SIM_1646) (127) [----] end for; (128) [FOR-] (2) ($RES_SIM_1643) (128) [----] for $i1 in 1:2 loop (128) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im + smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_1644) (128) [----] end for; (129) [FOR-] (2) ($RES_SIM_1641) (129) [----] for $i1 in 1:2 loop (129) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re + smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_1642) (129) [----] end for; (130) [SCAL] (1) smee3.groundR.port_p.V_m.im = 0.0 ($RES_SIM_1640) (131) [FOR-] (5) ($RES_SIM_430) (131) [----] for $i1 in 1:5 loop (131) [----] [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_431) (131) [----] end for; (132) [FOR-] (3) ($RES_SIM_251) (132) [----] for $i1 in 1:3 loop (132) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i + smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i = 0.0 ($RES_SIM_252) (132) [----] end for; (133) [SCAL] (1) smeeM.rotorCage.port_n.Phi.im + smeeM.airGap.port_rp.Phi.im = 0.0 ($RES_SIM_610) (134) [SCAL] (1) smeeM.rotorCage.port_n.Phi.re + smeeM.airGap.port_rp.Phi.re = 0.0 ($RES_SIM_611) (135) [FOR-] (3) ($RES_SIM_253) (135) [----] for $i1 in 1:3 loop (135) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i ($RES_SIM_254) (135) [----] end for; (136) [SCAL] (1) smeeM.groundS.port_p.Phi.im + smeeM.airGap.port_sp.Phi.im + smeeM.stator.port_n.Phi.im = 0.0 ($RES_SIM_612) (137) [SCAL] (1) smeeM.groundS.port_p.Phi.re + smeeM.airGap.port_sp.Phi.re + smeeM.stator.port_n.Phi.re = 0.0 ($RES_SIM_613) (138) [FOR-] (3) ($RES_SIM_255) (138) [----] for $i1 in 1:3 loop (138) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].v = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.v - smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.v ($RES_SIM_256) (138) [----] end for; (139) [FOR-] (10) ($RES_SIM_436) (139) [----] for $i1 in 1:5 loop (139) [----] [RECD] (2) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].port_p.Phi = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi ($RES_SIM_437) (139) [----] end for; (140) [SCAL] (1) smeeM.inertiaStator.J * smeeM.inertiaStator.a = smeeM.inertiaStator.flange_a.tau ($RES_SIM_439) (141) [SCAL] (1) smee3.groundR.port_p.V_m.re = 0.0 ($RES_SIM_1639) (142) [SCAL] (1) smee3.airGap.rotator.im = sin(smee3.airGap.gamma) ($RES_SIM_1638) (143) [SCAL] (1) smee3.airGap.rotator.re = cos(smee3.airGap.gamma) ($RES_SIM_1637) (144) [SCAL] (1) smee3.airGap.Phi_sr.im = smee3.airGap.Phi_ss.im * smee3.airGap.rotator.re - smee3.airGap.Phi_ss.re * smee3.airGap.rotator.im ($RES_SIM_1636) (145) [FOR-] (2) ($RES_SIM_1098) (145) [----] for $i1 in 1:2 loop (145) [----] [SCAL] (1) smeeM.rotorCage.resistor.heatPort[$i1].Q_flow + smeeM.rotorCage.thermalCollector.port_a[$i1].Q_flow = 0.0 ($RES_SIM_1099) (145) [----] end for; (146) [SCAL] (1) smee3.airGap.Phi_sr.re = smee3.airGap.Phi_ss.im * smee3.airGap.rotator.im + smee3.airGap.Phi_ss.re * smee3.airGap.rotator.re ($RES_SIM_1635) (147) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v = smeeM.rotorCage.resistor.plug_p.pin.v ($RES_SIM_1097) (148) [SCAL] (1) smee3.airGap.V_msr.im = smee3.airGap.V_mss.im * smee3.airGap.rotator.re - smee3.airGap.V_mss.re * smee3.airGap.rotator.im ($RES_SIM_1634) (149) [SCAL] (1) smee3.airGap.V_msr.re = smee3.airGap.V_mss.im * smee3.airGap.rotator.im + smee3.airGap.V_mss.re * smee3.airGap.rotator.re ($RES_SIM_1633) (150) [FOR-] (2) ($RES_SIM_1095) (150) [----] for $i1 in 1:2 loop (150) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.plug_p.pin[$i1].i + smeeM.rotorCage.resistor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1096) (150) [----] end for; (151) [SCAL] (1) smee3.airGap.port_rp.V_m.im - smee3.airGap.port_rn.V_m.im = smee3.airGap.V_mrr.im ($RES_SIM_1632) (152) [SCAL] (1) smee3.airGap.port_rp.V_m.re - smee3.airGap.port_rn.V_m.re = smee3.airGap.V_mrr.re ($RES_SIM_1631) (153) [SCAL] (1) smee3.airGap.port_sp.V_m.im - smee3.airGap.port_sn.V_m.im = smee3.airGap.V_mss.im ($RES_SIM_1630) (154) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.re = smeeM.excitation.reluctance.port_p.V_m.re ($RES_SIM_1091) (155) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.re = smeeM.excitation.port_p.V_m.re ($RES_SIM_1090) (156) [SCAL] (1) smeeM.inertiaStator.a = $DER.smeeM.inertiaStator.w ($RES_SIM_440) (157) [FOR-] (6) ($RES_SIM_261) (157) [----] for $i1 in 1:3 loop (157) [----] [RECD] (2) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].port_p.Phi = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi ($RES_SIM_262) (157) [----] end for; (158) [SCAL] (1) smeeM.inertiaStator.w = $DER.smeeM.fixed.phi0 ($RES_SIM_441) (159) [ARRY] (2) rotorAngle3.ToSpacePhasorVS.y = rotorAngle3.rotatorVS2R.u ($RES_SIM_800) (160) [ARRY] (3) rotorAngle3.VoltageSensor1.v = rotorAngle3.ToSpacePhasorVS.u ($RES_SIM_801) (161) [SCAL] (1) smee3.inertiaStator.J * smee3.inertiaStator.a = smee3.inertiaStator.flange_a.tau ($RES_SIM_264) (162) [SCAL] (1) smeeM.inertiaRotor.J * smeeM.inertiaRotor.a = smeeM.tauElectrical + smeeM.inertiaRotor.flange_b.tau ($RES_SIM_444) (163) [SCAL] (1) smee3.inertiaStator.a = $DER.smee3.inertiaStator.w ($RES_SIM_265) (164) [SCAL] (1) smeeM.thermalAmbient.Q_flowStatorCore - smeeM.stator.core.lossPower = 0.0 ($RES_SIM_624) (165) [SCAL] (1) smeeM.inertiaRotor.a = $DER.smeeM.inertiaRotor.w ($RES_SIM_445) (166) [SCAL] (1) smee3.inertiaStator.w = $DER.smee3.fixed.phi0 ($RES_SIM_266) (167) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.im - smeeM.stator.electroMagneticConverter.port_p.Phi.im = 0.0 ($RES_SIM_625) (168) [SCAL] (1) smeeM.inertiaRotor.w = $DER.constantSpeedM.flange.phi ($RES_SIM_446) (169) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.re - smeeM.stator.electroMagneticConverter.port_p.Phi.re = 0.0 ($RES_SIM_626) (170) [FOR-] (3) ($RES_SIM_806) (170) [----] for $i1 in 1:3 loop (170) [----] [SCAL] (1) rotorAngle3.VoltageSensor1.plug_n.pin[$i1].i - rotorAngle3.plug_n.pin[$i1].i = 0.0 ($RES_SIM_807) (170) [----] end for; (171) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].port_n.Phi.im - smeeM.stator.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_627) (172) [SCAL] (1) smee3.inertiaRotor.J * smee3.inertiaRotor.a = smee3.tauElectrical + smee3.inertiaRotor.flange_b.tau ($RES_SIM_269) (173) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].port_p.Phi.im + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].port_n.Phi.im = 0.0 ($RES_SIM_628) (174) [ARRY] (3) rotorAngle3.plug_n.pin.v = rotorAngle3.VoltageSensor1.plug_n.pin.v ($RES_SIM_808) (175) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].port_p.Phi.im + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.Phi.im = 0.0 ($RES_SIM_629) (176) [FOR-] (3) ($RES_SIM_809) (176) [----] for $i1 in 1:3 loop (176) [----] [SCAL] (1) rotorAngle3.VoltageSensor1.plug_p.pin[$i1].i - rotorAngle3.plug_p.pin[$i1].i = 0.0 ($RES_SIM_810) (176) [----] end for; (177) [SCAL] (1) smee3.airGap.port_sp.V_m.re - smee3.airGap.port_sn.V_m.re = smee3.airGap.V_mss.re ($RES_SIM_1629) (178) [SCAL] (1) smee3.airGap.port_rp.Phi.im + smee3.airGap.port_rn.Phi.im = 0.0 ($RES_SIM_1628) (179) [SCAL] (1) smee3.airGap.port_rp.Phi.re + smee3.airGap.port_rn.Phi.re = 0.0 ($RES_SIM_1627) (180) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.im = smeeM.excitation.reluctance.port_p.V_m.im ($RES_SIM_1089) (181) [SCAL] (1) smee3.airGap.port_sp.Phi.im + smee3.airGap.port_sn.Phi.im = 0.0 ($RES_SIM_1626) (182) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.V_m.im = smeeM.excitation.port_p.V_m.im ($RES_SIM_1088) (183) [SCAL] (1) smee3.airGap.port_sp.Phi.re + smee3.airGap.port_sn.Phi.re = 0.0 ($RES_SIM_1625) (184) [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_1087) (185) [SCAL] (1) smee3.groundS.port_p.V_m.im = 0.0 ($RES_SIM_1624) (186) [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_1086) (187) [SCAL] (1) smee3.groundS.port_p.V_m.re = 0.0 ($RES_SIM_1623) (188) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_n.V_m.re = smeeM.excitation.reluctance.port_n.V_m.re ($RES_SIM_1085) (189) [SCAL] (1) smee3.stator.strayReluctance.port_p.Phi.im + smee3.stator.strayReluctance.port_n.Phi.im = 0.0 ($RES_SIM_1622) (190) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_n.V_m.re = smeeM.excitation.port_n.V_m.re ($RES_SIM_1084) (191) [SCAL] (1) smee3.stator.strayReluctance.port_p.Phi.re + smee3.stator.strayReluctance.port_n.Phi.re = 0.0 ($RES_SIM_1621) (192) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_n.V_m.im = smeeM.excitation.reluctance.port_n.V_m.im ($RES_SIM_1083) (193) [SCAL] (1) smee3.stator.strayReluctance.V_m.im = smee3.stator.strayReluctance.port_p.V_m.im - smee3.stator.strayReluctance.port_n.V_m.im ($RES_SIM_1620) (194) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_n.V_m.im = smeeM.excitation.port_n.V_m.im ($RES_SIM_1082) (195) [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_1081) (196) [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_1080) (197) [SCAL] (1) smee3.inertiaRotor.a = $DER.smee3.inertiaRotor.w ($RES_SIM_270) (198) [FOR-] (3) ($RES_SIM_450) (198) [----] for $i1 in 1:3 loop (198) [----] [SCAL] (1) terminalBox3.star.plug_p.pin[$i1].v = terminalBox3.star.pin_n.v ($RES_SIM_451) (198) [----] end for; (199) [SCAL] (1) smee3.inertiaRotor.w = $DER.constantSpeed3.flange.phi ($RES_SIM_271) (200) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.Phi.im + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.im = 0.0 ($RES_SIM_630) (201) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.im + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.im = 0.0 ($RES_SIM_631) (202) [ARRY] (3) rotorAngle3.plug_p.pin.v = rotorAngle3.VoltageSensor1.plug_p.pin.v ($RES_SIM_811) (203) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].port_n.Phi.re - smeeM.stator.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_632) (204) [FOR-] (5) ($RES_SIM_453) (204) [----] for $i1 in 1:5 loop (204) [----] [SCAL] (1) terminalBoxM.star.plug_p.pin[$i1].v = terminalBoxM.star.pin_n.v ($RES_SIM_454) (204) [----] end for; (205) [ARRY] (3) rotorAngle3.VoltageSensor1.voltageSensor.v = rotorAngle3.VoltageSensor1.v ($RES_SIM_812) (206) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].port_p.Phi.re + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].port_n.Phi.re = 0.0 ($RES_SIM_633) (207) [FOR-] (3) ($RES_SIM_813) (207) [----] for $i1 in 1:3 loop (207) [----] [SCAL] (1) rotorAngle3.VoltageSensor1.voltageSensor[$i1].p.i - rotorAngle3.VoltageSensor1.plug_p.pin[$i1].i = 0.0 ($RES_SIM_814) (207) [----] end for; (208) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].port_p.Phi.re + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.Phi.re = 0.0 ($RES_SIM_634) (209) [SCAL] (1) 0.6666666666666666 * electricalPowerSensor3.Q = electricalPowerSensor3.v_[2] * electricalPowerSensor3.i_[1] - electricalPowerSensor3.v_[1] * electricalPowerSensor3.i_[2] ($RES_SIM_455) (210) [SCAL] (1) 0.0 = rampCurrentM.n.v - smeeM.brush.n.v ($RES_SIM_276) (211) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.Phi.re + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.re = 0.0 ($RES_SIM_635) (212) [SCAL] (1) 0.6666666666666666 * electricalPowerSensor3.P = electricalPowerSensor3.v_[1] * electricalPowerSensor3.i_[1] + electricalPowerSensor3.v_[2] * electricalPowerSensor3.i_[2] ($RES_SIM_456) (213) [SCAL] (1) -smeeM.brush.heatPort.Q_flow = 0.0 ($RES_SIM_277) (214) [ARRY] (3) rotorAngle3.VoltageSensor1.voltageSensor.p.v = rotorAngle3.VoltageSensor1.plug_p.pin.v ($RES_SIM_815) (215) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.re + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.re = 0.0 ($RES_SIM_636) (216) [ARRY] (2) electricalPowerSensor3.i_ = $FUN_5 ($RES_SIM_457) (217) [FOR-] (3) ($RES_SIM_816) (217) [----] for $i1 in 1:3 loop (217) [----] [SCAL] (1) rotorAngle3.VoltageSensor1.voltageSensor[$i1].n.i - rotorAngle3.VoltageSensor1.plug_n.pin[$i1].i = 0.0 ($RES_SIM_817) (217) [----] end for; (218) [SCAL] (1) smeeM.stator.core.port_p.Phi.im + smeeM.stator.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_637) (219) [ARRY] (2) electricalPowerSensor3.v_ = $FUN_3 ($RES_SIM_458) (220) [SCAL] (1) smeeM.stator.core.port_p.Phi.re + smeeM.stator.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_638) (221) [ARRY] (3) electricalPowerSensor3.plug_nv.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_459) (222) [ARRY] (3) rotorAngle3.VoltageSensor1.voltageSensor.n.v = rotorAngle3.VoltageSensor1.plug_n.pin.v ($RES_SIM_818) (223) [SCAL] (1) smeeM.airGap.port_sn.Phi.im + smeeM.stator.port_p.Phi.im = 0.0 ($RES_SIM_639) (224) [SCAL] (1) smee3.stator.strayReluctance.V_m.re = smee3.stator.strayReluctance.port_p.V_m.re - smee3.stator.strayReluctance.port_n.V_m.re ($RES_SIM_1619) (225) [SCAL] (1) smee3.stator.core.port_p.Phi.im + smee3.stator.core.port_n.Phi.im = 0.0 ($RES_SIM_1618) (226) [SCAL] (1) smee3.stator.core.port_p.Phi.re + smee3.stator.core.port_n.Phi.re = 0.0 ($RES_SIM_1617) (227) [ARRY] (3) sineVoltage3.sineVoltage.p.v = sineVoltage3.plug_p.pin.v ($RES_SIM_1258) (228) [SCAL] (1) smee3.stator.core.V_m.im = smee3.stator.core.port_p.V_m.im - smee3.stator.core.port_n.V_m.im ($RES_SIM_1616) (229) [SCAL] (1) smee3.stator.core.V_m.re = smee3.stator.core.port_p.V_m.re - smee3.stator.core.port_n.V_m.re ($RES_SIM_1615) (230) [FOR-] (3) ($RES_SIM_1256) (230) [----] for $i1 in 1:3 loop (230) [----] [SCAL] (1) sineVoltage3.sineVoltage[$i1].p.i - sineVoltage3.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1257) (230) [----] end for; (231) [ARRY] (2) smeeM.ir = smeeM.rotorCage.i ($RES_SIM_1076) (232) [ARRY] (3) sineVoltage3.sineVoltage.n.v = sineVoltage3.plug_n.pin.v ($RES_SIM_1255) (233) [FOR-] (3) ($RES_SIM_1613) (233) [----] for $i1 in 1:3 loop (233) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.im = 0.6366197723675814 * smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.im * smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i ($RES_SIM_1614) (233) [----] end for; (234) [FOR-] (3) ($RES_SIM_1253) (234) [----] for $i1 in 1:3 loop (234) [----] [SCAL] (1) sineVoltage3.sineVoltage[$i1].n.i - sineVoltage3.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1254) (234) [----] end for; (235) [FOR-] (3) ($RES_SIM_1611) (235) [----] for $i1 in 1:3 loop (235) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.re = 0.6366197723675814 * smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.re * smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i ($RES_SIM_1612) (235) [----] end for; (236) [ARRY] (5) electricalPowerSensorM.voltageSensor.voltageSensor.n.v = electricalPowerSensorM.voltageSensor.plug_n.pin.v ($RES_SIM_1252) (237) [SCAL] (1) smeeM.groundR.port_p.V_m.re = smeeM.airGap.port_rn.V_m.re ($RES_SIM_1071) (238) [FOR-] (5) ($RES_SIM_1250) (238) [----] for $i1 in 1:5 loop (238) [----] [SCAL] (1) electricalPowerSensorM.voltageSensor.voltageSensor[$i1].n.i - electricalPowerSensorM.voltageSensor.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1251) (238) [----] end for; (239) [SCAL] (1) smeeM.groundR.port_p.V_m.re = smeeM.excitation.port_p.V_m.re ($RES_SIM_1070) (240) [RECD] (2) smeeM.excitation.reluctance.port_p.Phi = smeeM.excitation.reluctance.Phi ($RES_SIM_280) (241) [ARRY] (3) electricalPowerSensor3.plug_p.pin.i + electricalPowerSensor3.plug_ni.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_460) (242) [SCAL] (1) smeeM.airGap.port_sn.Phi.re + smeeM.stator.port_p.Phi.re = 0.0 ($RES_SIM_640) (243) [ARRY] (3) electricalPowerSensor3.plug_p.pin.v = electricalPowerSensor3.plug_ni.pin.v ($RES_SIM_461) (244) [SCAL] (1) 1.5707963267948966 * smeeM.excitation.reluctance.V_m.im = smeeM.excitation.reluctance.R_m.q * smeeM.excitation.reluctance.Phi.im ($RES_SIM_282) (245) [SCAL] (1) smeeM.inertiaStator.flange_a.tau + smeeM.fixed.flange.tau + smeeM.tauElectrical = 0.0 ($RES_SIM_641) (246) [SCAL] (1) electricalPowerSensorM.sum.y = electricalPowerSensorM.sum.k * electricalPowerSensorM.sum.u ($RES_SIM_462) (247) [SCAL] (1) 1.5707963267948966 * smeeM.excitation.reluctance.V_m.re = smeeM.excitation.reluctance.R_m.d * smeeM.excitation.reluctance.Phi.re ($RES_SIM_283) (248) [FOR-] (5) ($RES_SIM_463) (248) [----] for $i1 in 1:5 loop (248) [----] [SCAL] (1) electricalPowerSensorM.product[$i1].y = electricalPowerSensorM.product[$i1].u1 * electricalPowerSensorM.product[$i1].u2 ($RES_SIM_464) (248) [----] end for; (249) [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_284) (250) [SCAL] (1) (smee3.thermalAmbient.thermalPort.heatPortStatorWinding[3].Q_flow + smee3.stator.heatPortWinding[3].Q_flow) - smee3.internalThermalPort.heatPortStatorWinding[3].Q_flow = 0.0 ($RES_SIM_822) (251) [SCAL] (1) (smee3.thermalAmbient.thermalPort.heatPortStatorWinding[2].Q_flow + smee3.stator.heatPortWinding[2].Q_flow) - smee3.internalThermalPort.heatPortStatorWinding[2].Q_flow = 0.0 ($RES_SIM_823) (252) [FOR-] (5) ($RES_SIM_465) (252) [----] for $i1 in 1:5 loop (252) [----] [SCAL] (1) electricalPowerSensorM.currentSensor.currentSensor[$i1].n.i = -electricalPowerSensorM.currentSensor.currentSensor[$i1].i ($RES_SIM_466) (252) [----] end for; (253) [SCAL] (1) (smee3.thermalAmbient.thermalPort.heatPortStatorWinding[1].Q_flow + smee3.stator.heatPortWinding[1].Q_flow) - smee3.internalThermalPort.heatPortStatorWinding[1].Q_flow = 0.0 ($RES_SIM_824) (254) [SCAL] (1) smee3.thermalAmbient.thermalPort.heatPortStatorWinding[3].T = smee3.stator.heatPortWinding[3].T ($RES_SIM_825) (255) [FOR-] (5) ($RES_SIM_467) (255) [----] for $i1 in 1:5 loop (255) [----] [SCAL] (1) electricalPowerSensorM.currentSensor.currentSensor[$i1].p.i = electricalPowerSensorM.currentSensor.currentSensor[$i1].i ($RES_SIM_468) (255) [----] end for; (256) [SCAL] (1) smeeM.excitation.electroMagneticConverter.v = smeeM.excitation.resistor.n.v ($RES_SIM_288) (257) [SCAL] (1) smee3.thermalAmbient.thermalPort.heatPortStatorWinding[3].T = smee3.internalThermalPort.heatPortStatorWinding[3].T ($RES_SIM_826) (258) [SCAL] (1) smee3.thermalAmbient.thermalPort.heatPortStatorWinding[2].T = smee3.stator.heatPortWinding[2].T ($RES_SIM_827) (259) [FOR-] (5) ($RES_SIM_469) (259) [----] for $i1 in 1:5 loop (259) [----] [SCAL] (1) electricalPowerSensorM.currentSensor.currentSensor[$i1].p.v = electricalPowerSensorM.currentSensor.currentSensor[$i1].n.v ($RES_SIM_470) (259) [----] end for; (260) [SCAL] (1) smee3.thermalAmbient.thermalPort.heatPortStatorWinding[2].T = smee3.internalThermalPort.heatPortStatorWinding[2].T ($RES_SIM_828) (261) [FOR-] (5) ($RES_SIM_649) (261) [----] for $i1 in 1:5 loop (261) [----] [SCAL] (1) electricalPowerSensorM.nc.pin[$i1].i + currentRMSsensorM.plug_p.pin[$i1].i = 0.0 ($RES_SIM_650) (261) [----] end for; (262) [SCAL] (1) smee3.thermalAmbient.thermalPort.heatPortStatorWinding[1].T = smee3.stator.heatPortWinding[1].T ($RES_SIM_829) (263) [FOR-] (3) ($RES_SIM_1609) (263) [----] for $i1 in 1:3 loop (263) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.im - smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.im = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.im ($RES_SIM_1610) (263) [----] end for; (264) [ARRY] (5) electricalPowerSensorM.voltageSensor.voltageSensor.p.v = electricalPowerSensorM.voltageSensor.plug_p.pin.v ($RES_SIM_1249) (265) [FOR-] (3) ($RES_SIM_1607) (265) [----] for $i1 in 1:3 loop (265) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.V_m.re - smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.V_m.re = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].V_m.re ($RES_SIM_1608) (265) [----] end for; (266) [SCAL] (1) smeeM.groundR.port_p.V_m.im = smeeM.airGap.port_rn.V_m.im ($RES_SIM_1069) (267) [SCAL] (1) smeeM.groundR.port_p.V_m.im = smeeM.excitation.port_p.V_m.im ($RES_SIM_1068) (268) [FOR-] (5) ($RES_SIM_1247) (268) [----] for $i1 in 1:5 loop (268) [----] [SCAL] (1) electricalPowerSensorM.voltageSensor.voltageSensor[$i1].p.i - electricalPowerSensorM.voltageSensor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1248) (268) [----] end for; (269) [FOR-] (3) ($RES_SIM_1605) (269) [----] for $i1 in 1:3 loop (269) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im + smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_1606) (269) [----] end for; (270) [ARRY] (5) electricalPowerSensorM.voltageSensor.voltageSensor.v = electricalPowerSensorM.voltageSensor.v ($RES_SIM_1246) (271) [ARRY] (5) electricalPowerSensorM.currentSensor.plug_p.pin.v = electricalPowerSensorM.currentSensor.currentSensor.p.v ($RES_SIM_1245) (272) [FOR-] (3) ($RES_SIM_1603) (272) [----] for $i1 in 1:3 loop (272) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re + smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_1604) (272) [----] end for; (273) [SCAL] (1) smeeM.excitation.reluctance.port_p.Phi.im + smeeM.excitation.reluctance.port_n.Phi.im = 0.0 ($RES_SIM_1602) (274) [FOR-] (5) ($RES_SIM_1243) (274) [----] for $i1 in 1:5 loop (274) [----] [SCAL] (1) electricalPowerSensorM.currentSensor.currentSensor[$i1].p.i - electricalPowerSensorM.currentSensor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1244) (274) [----] end for; (275) [SCAL] (1) smeeM.excitation.reluctance.port_p.Phi.re + smeeM.excitation.reluctance.port_n.Phi.re = 0.0 ($RES_SIM_1601) (276) [ARRY] (3) smee3.stator.electroMagneticConverter.i = smee3.stator.electroMagneticConverter.plug_p.pin.i ($RES_BND_1399) (277) [ARRY] (5) electricalPowerSensorM.currentSensor.currentSensor.n.v = electricalPowerSensorM.currentSensor.plug_n.pin.v ($RES_SIM_1242) (278) [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_1600) (279) [ARRY] (3) smee3.stator.electroMagneticConverter.v = smee3.stator.electroMagneticConverter.plug_p.pin.v - smee3.stator.electroMagneticConverter.plug_n.pin.v ($RES_BND_1398) (280) [SCAL] (1) smee3.stator.arg_Phi = Modelica.Math.atan3(smee3.stator.Phi.im, smee3.stator.Phi.re, 0.0) ($RES_BND_1397) (281) [FOR-] (5) ($RES_SIM_1240) (281) [----] for $i1 in 1:5 loop (281) [----] [SCAL] (1) electricalPowerSensorM.currentSensor.currentSensor[$i1].n.i - electricalPowerSensorM.currentSensor.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1241) (281) [----] end for; (282) [SCAL] (1) smee3.stator.abs_Phi = (smee3.stator.Phi.re ^ 2.0 + smee3.stator.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1396) (283) [SCAL] (1) smeeM.airGap.port_rp.V_m.re = smeeM.rotorCage.port_n.V_m.re ($RES_SIM_1060) (284) [SCAL] (1) smee3.stator.arg_V_m = Modelica.Math.atan3(smee3.stator.V_m.im, smee3.stator.V_m.re, 0.0) ($RES_BND_1395) (285) [SCAL] (1) smee3.stator.abs_V_m = (smee3.stator.V_m.re ^ 2.0 + smee3.stator.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1394) (286) [RECD] (2) smeeM.excitation.electroMagneticConverter.port_p.Phi = smeeM.excitation.electroMagneticConverter.Phi ($RES_SIM_291) (287) [ARRY] (3) smee3.stator.i = smee3.stator.plug_p.pin.i ($RES_BND_1393) (288) [FOR-] (5) ($RES_SIM_471) (288) [----] for $i1 in 1:5 loop (288) [----] [SCAL] (1) electricalPowerSensorM.voltageSensor.voltageSensor[$i1].v = electricalPowerSensorM.voltageSensor.voltageSensor[$i1].p.v - electricalPowerSensorM.voltageSensor.voltageSensor[$i1].n.v ($RES_SIM_472) (288) [----] end for; (289) [SCAL] (1) smee3.thermalAmbient.thermalPort.heatPortStatorWinding[1].T = smee3.internalThermalPort.heatPortStatorWinding[1].T ($RES_SIM_830) (290) [ARRY] (3) smee3.stator.v = smee3.stator.plug_p.pin.v - smee3.stator.plug_n.pin.v ($RES_BND_1392) (291) [ARRY] (5) electricalPowerSensorM.nc.pin.v = currentRMSsensorM.plug_p.pin.v ($RES_SIM_651) (292) [SCAL] (1) smee3.stator.port_p.V_m.im = smee3.airGap.port_sn.V_m.im ($RES_SIM_831) (293) [ARRY] (3) smee3.is = smee3.plug_sp.pin.i ($RES_BND_1391) (294) [SCAL] (1) electricalPowerSensorM.pv.pin[5].i + electricalPowerSensorM.pc.pin[5].i + sineVoltageM.plug_p.pin[5].i = 0.0 ($RES_SIM_652) (295) [FOR-] (5) ($RES_SIM_473) (295) [----] for $i1 in 1:5 loop (295) [----] [SCAL] (1) electricalPowerSensorM.voltageSensor.voltageSensor[$i1].n.i = 0.0 ($RES_SIM_474) (295) [----] end for; (296) [SCAL] (1) smeeM.excitation.resistor.v = smeeM.brush.n.v - smeeM.excitation.resistor.n.v ($RES_SIM_294) (297) [SCAL] (1) smee3.stator.port_p.V_m.re = smee3.airGap.port_sn.V_m.re ($RES_SIM_832) (298) [ARRY] (3) smee3.vs = smee3.plug_sp.pin.v - smee3.plug_sn.pin.v ($RES_BND_1390) (299) [SCAL] (1) electricalPowerSensorM.pv.pin[4].i + electricalPowerSensorM.pc.pin[4].i + sineVoltageM.plug_p.pin[4].i = 0.0 ($RES_SIM_653) (300) [SCAL] (1) smeeM.excitation.resistor.LossPower = smeeM.excitation.resistor.v * smeeM.ie ($RES_SIM_295) (301) [SCAL] (1) smee3.stator.port_n.V_m.im = smee3.groundS.port_p.V_m.im ($RES_SIM_833) (302) [SCAL] (1) electricalPowerSensorM.pv.pin[3].i + electricalPowerSensorM.pc.pin[3].i + sineVoltageM.plug_p.pin[3].i = 0.0 ($RES_SIM_654) (303) [FOR-] (5) ($RES_SIM_475) (303) [----] for $i1 in 1:5 loop (303) [----] [SCAL] (1) electricalPowerSensorM.voltageSensor.voltageSensor[$i1].p.i = 0.0 ($RES_SIM_476) (303) [----] end for; (304) [SCAL] (1) smeeM.excitation.resistor.v = smeeM.excitation.resistor.R_actual * smeeM.ie ($RES_SIM_296) (305) [SCAL] (1) smee3.stator.port_n.V_m.im = smee3.airGap.port_sp.V_m.im ($RES_SIM_834) (306) [SCAL] (1) electricalPowerSensorM.pv.pin[2].i + electricalPowerSensorM.pc.pin[2].i + sineVoltageM.plug_p.pin[2].i = 0.0 ($RES_SIM_655) (307) [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_297) (308) [SCAL] (1) smee3.stator.port_n.V_m.re = smee3.groundS.port_p.V_m.re ($RES_SIM_835) (309) [SCAL] (1) electricalPowerSensorM.pv.pin[1].i + electricalPowerSensorM.pc.pin[1].i + sineVoltageM.plug_p.pin[1].i = 0.0 ($RES_SIM_656) (310) [ARRY] (3) sineVoltage3.i = sineVoltage3.plug_p.pin.i ($RES_SIM_477) (311) [SCAL] (1) smee3.stator.port_n.V_m.re = smee3.airGap.port_sp.V_m.re ($RES_SIM_836) (312) [SCAL] (1) electricalPowerSensorM.pc.pin[5].v = sineVoltageM.plug_p.pin[5].v ($RES_SIM_657) (313) [ARRY] (3) sineVoltage3.v = sineVoltage3.plug_p.pin.v - sineVoltage3.plug_n.pin.v ($RES_SIM_478) (314) [SCAL] (1) electricalPowerSensorM.pc.pin[5].v = electricalPowerSensorM.pv.pin[5].v ($RES_SIM_658) (315) [FOR-] (3) ($RES_SIM_479) (315) [----] for $i1 in 1:3 loop (315) [----] [SCAL] (1) sineVoltage3.sineVoltage[$i1].i = sineVoltage3.sineVoltage[$i1].p.i ($RES_SIM_480) (315) [----] end for; (316) [SCAL] (1) electricalPowerSensorM.pc.pin[4].v = sineVoltageM.plug_p.pin[4].v ($RES_SIM_659) (317) [ARRY] (5) electricalPowerSensorM.currentSensor.currentSensor.i = electricalPowerSensorM.currentSensor.i ($RES_SIM_1239) (318) [SCAL] (1) smeeM.airGap.port_rp.V_m.im = smeeM.rotorCage.port_n.V_m.im ($RES_SIM_1059) (319) [ARRY] (5) electricalPowerSensorM.pc.pin.v = electricalPowerSensorM.currentSensor.plug_p.pin.v ($RES_SIM_1238) (320) [SCAL] (1) smeeM.rotorCage.port_p.V_m.re = smeeM.excitation.port_n.V_m.re ($RES_SIM_1058) (321) [SCAL] (1) smeeM.rotorCage.port_p.V_m.im = smeeM.excitation.port_n.V_m.im ($RES_SIM_1057) (322) [FOR-] (5) ($RES_SIM_1236) (322) [----] for $i1 in 1:5 loop (322) [----] [SCAL] (1) electricalPowerSensorM.currentSensor.plug_p.pin[$i1].i - electricalPowerSensorM.pc.pin[$i1].i = 0.0 ($RES_SIM_1237) (322) [----] end for; (323) [ARRY] (5) electricalPowerSensorM.currentSensor.plug_n.pin.v = electricalPowerSensorM.nc.pin.v ($RES_SIM_1235) (324) [ARRY] (5) smeeM.stator.plug_n.pin.v = smeeM.plug_sn.pin.v ($RES_SIM_1054) (325) [FOR-] (5) ($RES_SIM_1233) (325) [----] for $i1 in 1:5 loop (325) [----] [SCAL] (1) electricalPowerSensorM.currentSensor.plug_n.pin[$i1].i - electricalPowerSensorM.nc.pin[$i1].i = 0.0 ($RES_SIM_1234) (325) [----] end for; (326) [SCAL] (1) smee3.powerBalance.powerStator = sum(smee3.vs * smee3.is) ($RES_BND_1389) (327) [ARRY] (5) electricalPowerSensorM.voltageSensor.plug_p.pin.v = electricalPowerSensorM.pv.pin.v ($RES_SIM_1232) (328) [SCAL] (1) smee3.powerBalance.powerMechanical = smee3.wMechanical * smee3.tauShaft ($RES_BND_1388) (329) [FOR-] (5) ($RES_SIM_1052) (329) [----] for $i1 in 1:5 loop (329) [----] [SCAL] (1) smeeM.stator.plug_n.pin[$i1].i - smeeM.plug_sn.pin[$i1].i = 0.0 ($RES_SIM_1053) (329) [----] end for; (330) [SCAL] (1) smee3.powerBalance.powerInertiaStator = smee3.inertiaStator.a * smee3.inertiaStator.J * smee3.inertiaStator.w ($RES_BND_1387) (331) [FOR-] (5) ($RES_SIM_1230) (331) [----] for $i1 in 1:5 loop (331) [----] [SCAL] (1) electricalPowerSensorM.voltageSensor.plug_p.pin[$i1].i - electricalPowerSensorM.pv.pin[$i1].i = 0.0 ($RES_SIM_1231) (331) [----] end for; (332) [SCAL] (1) smee3.powerBalance.powerInertiaRotor = smee3.inertiaRotor.a * smee3.inertiaRotor.J * smee3.inertiaRotor.w ($RES_BND_1386) (333) [SCAL] (1) smee3.powerBalance.lossPowerTotal = smee3.powerBalance.lossPowerExcitation + smee3.powerBalance.lossPowerFriction + smee3.powerBalance.lossPowerRotorCore + smee3.powerBalance.lossPowerStatorWinding + smee3.powerBalance.lossPowerStatorCore + smee3.powerBalance.lossPowerStrayLoad + smee3.powerBalance.lossPowerRotorWinding + smee3.powerBalance.lossPowerBrush ($RES_BND_1385) (334) [SCAL] (1) smee3.powerBalance.lossPowerStatorWinding = $FUN_30 ($RES_BND_1384) (335) [SCAL] (1) smee3.powerBalance.lossPowerStatorCore = smee3.stator.core.lossPower ($RES_BND_1383) (336) [SCAL] (1) electricalPowerSensorM.pc.pin[4].v = electricalPowerSensorM.pv.pin[4].v ($RES_SIM_660) (337) [FOR-] (3) ($RES_SIM_481) (337) [----] for $i1 in 1:3 loop (337) [----] [SCAL] (1) 0.0 = sineVoltage3.sineVoltage[$i1].p.i + sineVoltage3.sineVoltage[$i1].n.i ($RES_SIM_482) (337) [----] end for; (338) [SCAL] (1) smee3.powerBalance.lossPowerRotorCore = 0.0 ($RES_BND_1382) (339) [SCAL] (1) electricalPowerSensorM.pc.pin[3].v = sineVoltageM.plug_p.pin[3].v ($RES_SIM_661) (340) [SCAL] (1) smee3.powerBalance.lossPowerStrayLoad = -smee3.strayLoad.heatPort.Q_flow ($RES_BND_1381) (341) [SCAL] (1) electricalPowerSensorM.pc.pin[3].v = electricalPowerSensorM.pv.pin[3].v ($RES_SIM_662) (342) [FOR-] (3) ($RES_SIM_483) (342) [----] for $i1 in 1:3 loop (342) [----] [SCAL] (1) sineVoltage3.sineVoltage[$i1].v = sineVoltage3.sineVoltage[$i1].p.v - sineVoltage3.sineVoltage[$i1].n.v ($RES_SIM_484) (342) [----] end for; (343) [SCAL] (1) smee3.powerBalance.lossPowerFriction = -smee3.friction.heatPort.Q_flow ($RES_BND_1380) (344) [SCAL] (1) electricalPowerSensorM.pc.pin[2].v = sineVoltageM.plug_p.pin[2].v ($RES_SIM_663) (345) [SCAL] (1) electricalPowerSensorM.pc.pin[2].v = electricalPowerSensorM.pv.pin[2].v ($RES_SIM_664) (346) [FOR-] (3) ($RES_SIM_485) (346) [----] for $i1 in 1:3 loop (346) [----] [SCAL] (1) sineVoltage3.sineVoltage[$i1].v = sineVoltage3.sineVoltage[$i1].signalSource.y ($RES_SIM_486) (346) [----] end for; (347) [FOR-] (3) ($RES_SIM_844) (347) [----] for $i1 in 1:3 loop (347) [----] [SCAL] (1) smee3.strayLoad.plug_p.pin[$i1].i - smee3.plug_sp.pin[$i1].i = 0.0 ($RES_SIM_845) (347) [----] end for; (348) [SCAL] (1) electricalPowerSensorM.pc.pin[1].v = sineVoltageM.plug_p.pin[1].v ($RES_SIM_665) (349) [SCAL] (1) electricalPowerSensorM.pc.pin[1].v = electricalPowerSensorM.pv.pin[1].v ($RES_SIM_666) (350) [FOR-] (3) ($RES_SIM_487) (350) [----] for $i1 in 1:3 loop (350) [----] [SCAL] (1) sineVoltage3.sineVoltage[$i1].signalSource.y = sineVoltage3.sineVoltage[$i1].signalSource.offset + (if $SEV_10[$i1] then 0.0 else sineVoltage3.sineVoltage[$i1].signalSource.amplitude * $FUN_2[$i1]) ($RES_SIM_488) (350) [----] end for; (351) [ARRY] (3) smee3.plug_sp.pin.v = smee3.strayLoad.plug_p.pin.v ($RES_SIM_846) (352) [SCAL] (1) electricalPowerSensorM.nv.pin[5].i + starM.plug_p.pin[5].i + sineVoltageM.plug_n.pin[5].i = 0.0 ($RES_SIM_667) (353) [FOR-] (3) ($RES_SIM_847) (353) [----] for $i1 in 1:3 loop (353) [----] [SCAL] (1) smee3.stator.plug_p.pin[$i1].i + smee3.strayLoad.plug_n.pin[$i1].i = 0.0 ($RES_SIM_848) (353) [----] end for; (354) [SCAL] (1) electricalPowerSensorM.nv.pin[4].i + starM.plug_p.pin[4].i + sineVoltageM.plug_n.pin[4].i = 0.0 ($RES_SIM_668) (355) [SCAL] (1) electricalPowerSensorM.nv.pin[3].i + starM.plug_p.pin[3].i + sineVoltageM.plug_n.pin[3].i = 0.0 ($RES_SIM_669) (356) [ARRY] (3) smee3.stator.plug_p.pin.v = smee3.strayLoad.plug_n.pin.v ($RES_SIM_849) (357) [ARRY] (5) electricalPowerSensorM.voltageSensor.plug_n.pin.v = electricalPowerSensorM.nv.pin.v ($RES_SIM_1229) (358) [FOR-] (5) ($RES_SIM_1227) (358) [----] for $i1 in 1:5 loop (358) [----] [SCAL] (1) electricalPowerSensorM.voltageSensor.plug_n.pin[$i1].i - electricalPowerSensorM.nv.pin[$i1].i = 0.0 ($RES_SIM_1228) (358) [----] end for; (359) [ARRY] (5) electricalPowerSensorM.voltageSensor.v = electricalPowerSensorM.product.u1 ($RES_SIM_1226) (360) [ARRY] (5) electricalPowerSensorM.currentSensor.i = electricalPowerSensorM.product.u2 ($RES_SIM_1225) (361) [ARRY] (5) smeeM.stator.plug_p.pin.v = smeeM.strayLoad.plug_n.pin.v ($RES_SIM_1045) (362) [ARRY] (5) electricalPowerSensorM.product.y = electricalPowerSensorM.sum.u ($RES_SIM_1224) (363) [SCAL] (1) smee3.powerBalance.lossPowerRotorWinding = smee3.damperCageLossPower ($RES_BND_1379) (364) [FOR-] (5) ($RES_SIM_1043) (364) [----] for $i1 in 1:5 loop (364) [----] [SCAL] (1) smeeM.stator.plug_p.pin[$i1].i + smeeM.strayLoad.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1044) (364) [----] end for; (365) [ARRY] (5) terminalBoxM.plug_sn.pin.v = terminalBoxM.star.plug_p.pin.v ($RES_SIM_1222) (366) [SCAL] (1) smee3.powerBalance.powerExcitation = smee3.ve * smee3.ie ($RES_BND_1378) (367) [ARRY] (5) smeeM.plug_sp.pin.v = smeeM.strayLoad.plug_p.pin.v ($RES_SIM_1042) (368) [SCAL] (1) smee3.powerBalance.lossPowerExcitation = smee3.excitation.resistor.LossPower ($RES_BND_1377) (369) [FOR-] (5) ($RES_SIM_1220) (369) [----] for $i1 in 1:5 loop (369) [----] [SCAL] (1) terminalBoxM.star.plug_p.pin[$i1].i - terminalBoxM.plug_sn.pin[$i1].i = 0.0 ($RES_SIM_1221) (369) [----] end for; (370) [SCAL] (1) smee3.powerBalance.lossPowerBrush = -smee3.brush.heatPort.Q_flow ($RES_BND_1376) (371) [FOR-] (5) ($RES_SIM_1040) (371) [----] for $i1 in 1:5 loop (371) [----] [SCAL] (1) smeeM.strayLoad.plug_p.pin[$i1].i - smeeM.plug_sp.pin[$i1].i = 0.0 ($RES_SIM_1041) (371) [----] end for; (372) [SCAL] (1) smee3.wMechanical = $DER.smee3.phiMechanical ($RES_BND_1373) (373) [SCAL] (1) electricalPowerSensorM.nv.pin[2].i + starM.plug_p.pin[2].i + sineVoltageM.plug_n.pin[2].i = 0.0 ($RES_SIM_670) (374) [FOR-] (3) ($RES_SIM_491) (374) [----] for $i1 in 1:3 loop (374) [----] [SCAL] (1) star3.plug_p.pin[$i1].v = 0.0 ($RES_SIM_492) (374) [----] end for; (375) [SCAL] (1) smee3.phiMechanical = constantSpeed3.flange.phi - smee3.fixed.phi0 ($RES_BND_1372) (376) [SCAL] (1) electricalPowerSensorM.nv.pin[1].i + starM.plug_p.pin[1].i + sineVoltageM.plug_n.pin[1].i = 0.0 ($RES_SIM_671) (377) [SCAL] (1) electricalPowerSensorM.nv.pin[5].v = sineVoltageM.plug_n.pin[5].v ($RES_SIM_672) (378) [SCAL] (1) smeeM.excitation.reluctance.arg_Phi = Modelica.Math.atan3(smeeM.excitation.reluctance.Phi.im, smeeM.excitation.reluctance.Phi.re, 0.0) ($RES_BND_1370) (379) [SCAL] (1) electricalPowerSensorM.nv.pin[5].v = starM.plug_p.pin[5].v ($RES_SIM_673) (380) [SCAL] (1) electricalPowerSensorM.nv.pin[4].v = sineVoltageM.plug_n.pin[4].v ($RES_SIM_674) (381) [SCAL] (1) electricalPowerSensorM.nv.pin[4].v = starM.plug_p.pin[4].v ($RES_SIM_675) (382) [SCAL] (1) mechanicalPowerSensor3.torqueSensor.flange_a.tau - mechanicalPowerSensor3.flange_a.tau = 0.0 ($RES_SIM_496) (383) [SCAL] (1) electricalPowerSensorM.nv.pin[3].v = sineVoltageM.plug_n.pin[3].v ($RES_SIM_676) (384) [FOR-] (3) ($RES_SIM_856) (384) [----] for $i1 in 1:3 loop (384) [----] [SCAL] (1) smee3.stator.plug_n.pin[$i1].i - smee3.plug_sn.pin[$i1].i = 0.0 ($RES_SIM_857) (384) [----] end for; (385) [SCAL] (1) electricalPowerSensorM.nv.pin[3].v = starM.plug_p.pin[3].v ($RES_SIM_677) (386) [SCAL] (1) electricalPowerSensorM.nv.pin[2].v = sineVoltageM.plug_n.pin[2].v ($RES_SIM_678) (387) [ARRY] (3) smee3.stator.plug_n.pin.v = smee3.plug_sn.pin.v ($RES_SIM_858) (388) [SCAL] (1) electricalPowerSensorM.nv.pin[2].v = starM.plug_p.pin[2].v ($RES_SIM_679) (389) [SCAL] (1) $SEV_1 = currentRMSsensor3.ToPolar1.y[1] <= 1e-60 ($RES_EVT_1699) (390) [FOR-] (5) ($RES_EVT_1697) (390) [----] for $i1 in 1:5 loop (390) [----] [SCAL] (1) $SEV_0[$i1] = time < sineVoltageM.sineVoltage[$i1].signalSource.startTime ($RES_EVT_1698) (390) [----] end for; (391) [SCAL] (1) $TEV_3 = time < (rampCurrentM.signalSource.startTime + rampCurrentM.signalSource.duration) ($RES_EVT_1696) (392) [SCAL] (1) $TEV_2 = time < rampCurrentM.signalSource.startTime ($RES_EVT_1695) (393) [SCAL] (1) $TEV_1 = time < (rampCurrent3.signalSource.startTime + rampCurrent3.signalSource.duration) ($RES_EVT_1694) (394) [SCAL] (1) $TEV_0 = time < rampCurrent3.signalSource.startTime ($RES_EVT_1693) (395) [ARRY] (5) terminalBoxM.plug_sp.pin.v = terminalBoxM.plugSupply.pin.v ($RES_SIM_1219) (396) [FOR-] (5) ($RES_SIM_1217) (396) [----] for $i1 in 1:5 loop (396) [----] [SCAL] (1) -(terminalBoxM.plug_sp.pin[$i1].i + terminalBoxM.plugSupply.pin[$i1].i) = 0.0 ($RES_SIM_1218) (396) [----] end for; (397) [ARRY] (3) terminalBox3.plug_sn.pin.v = terminalBox3.star.plug_p.pin.v ($RES_SIM_1215) (398) [FOR-] (3) ($RES_SIM_1213) (398) [----] for $i1 in 1:3 loop (398) [----] [SCAL] (1) terminalBox3.star.plug_p.pin[$i1].i - terminalBox3.plug_sn.pin[$i1].i = 0.0 ($RES_SIM_1214) (398) [----] end for; (399) [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_1369) (400) [ARRY] (3) terminalBox3.plug_sp.pin.v = terminalBox3.plugSupply.pin.v ($RES_SIM_1212) (401) [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_1368) (402) [SCAL] (1) smeeM.stator.port_n.V_m.re = smeeM.airGap.port_sp.V_m.re ($RES_SIM_1032) (403) [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_1367) (404) [SCAL] (1) smeeM.stator.port_n.V_m.re = smeeM.groundS.port_p.V_m.re ($RES_SIM_1031) (405) [FOR-] (3) ($RES_SIM_1210) (405) [----] for $i1 in 1:3 loop (405) [----] [SCAL] (1) -(terminalBox3.plug_sp.pin[$i1].i + terminalBox3.plugSupply.pin[$i1].i) = 0.0 ($RES_SIM_1211) (405) [----] end for; (406) [SCAL] (1) smeeM.excitation.electroMagneticConverter.arg_Phi = Modelica.Math.atan3(smeeM.excitation.electroMagneticConverter.Phi.im, smeeM.excitation.electroMagneticConverter.Phi.re, 0.0) ($RES_BND_1366) (407) [SCAL] (1) smeeM.stator.port_n.V_m.im = smeeM.airGap.port_sp.V_m.im ($RES_SIM_1030) (408) [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_1365) (409) [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_1364) (410) [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_1363) (411) [SCAL] (1) electricalPowerSensorM.nv.pin[1].v = sineVoltageM.plug_n.pin[1].v ($RES_SIM_680) (412) [SCAL] (1) electricalPowerSensorM.nv.pin[1].v = starM.plug_p.pin[1].v ($RES_SIM_681) (413) [SCAL] (1) smee3.rotorCage.port_p.V_m.im = smee3.excitation.port_n.V_m.im ($RES_SIM_861) (414) [SCAL] (1) smee3.rotorCage.port_p.V_m.re = smee3.excitation.port_n.V_m.re ($RES_SIM_862) (415) [SCAL] (1) smeeM.excitation.arg_Phi = Modelica.Math.atan3(smeeM.excitation.Phi.im, smeeM.excitation.Phi.re, 0.0) ($RES_BND_1360) (416) [SCAL] (1) smee3.airGap.port_rp.V_m.im = smee3.rotorCage.port_n.V_m.im ($RES_SIM_863) (417) [FOR-] (5) ($RES_SIM_684) (417) [----] for $i1 in 1:5 loop (417) [----] [SCAL] (1) terminalBoxM.plugSupply.pin[$i1].i + currentRMSsensorM.plug_n.pin[$i1].i = 0.0 ($RES_SIM_685) (417) [----] end for; (418) [SCAL] (1) smee3.airGap.port_rp.V_m.re = smee3.rotorCage.port_n.V_m.re ($RES_SIM_864) (419) [ARRY] (5) terminalBoxM.plugSupply.pin.v = currentRMSsensorM.plug_n.pin.v ($RES_SIM_686) (420) [FOR-] (3) ($RES_SIM_688) (420) [----] for $i1 in 1:3 loop (420) [----] [SCAL] (1) currentRMSsensor3.plug_n.pin[$i1].i + terminalBox3.plugSupply.pin[$i1].i = 0.0 ($RES_SIM_689) (420) [----] end for; (421) [ARRY] (5) smeeM.stator.electroMagneticConverter.plug_p.pin.v = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v ($RES_SIM_1208) (422) [SCAL] (1) smeeM.stator.port_n.V_m.im = smeeM.groundS.port_p.V_m.im ($RES_SIM_1029) (423) [SCAL] (1) smeeM.stator.port_p.V_m.re = smeeM.airGap.port_sn.V_m.re ($RES_SIM_1028) (424) [FOR-] (5) ($RES_SIM_1206) (424) [----] for $i1 in 1:5 loop (424) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i - smeeM.stator.electroMagneticConverter.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1207) (424) [----] end for; (425) [SCAL] (1) smeeM.stator.port_p.V_m.im = smeeM.airGap.port_sn.V_m.im ($RES_SIM_1027) (426) [ARRY] (5) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v = smeeM.stator.electroMagneticConverter.plug_n.pin.v ($RES_SIM_1205) (427) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[1].T = smeeM.internalThermalPort.heatPortStatorWinding[1].T ($RES_SIM_1026) (428) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[1].T = smeeM.stator.heatPortWinding[1].T ($RES_SIM_1025) (429) [SCAL] (1) smeeM.excitation.abs_Phi = (smeeM.excitation.Phi.re ^ 2.0 + smeeM.excitation.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1359) (430) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[2].T = smeeM.internalThermalPort.heatPortStatorWinding[2].T ($RES_SIM_1024) (431) [FOR-] (5) ($RES_SIM_1203) (431) [----] for $i1 in 1:5 loop (431) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i - smeeM.stator.electroMagneticConverter.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1204) (431) [----] end for; (432) [SCAL] (1) smeeM.excitation.arg_V_m = Modelica.Math.atan3(smeeM.excitation.V_m.im, smeeM.excitation.V_m.re, 0.0) ($RES_BND_1358) (433) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[2].T = smeeM.stator.heatPortWinding[2].T ($RES_SIM_1023) (434) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.re = smeeM.stator.electroMagneticConverter.port_p.V_m.re ($RES_SIM_1202) (435) [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_1357) (436) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[3].T = smeeM.internalThermalPort.heatPortStatorWinding[3].T ($RES_SIM_1022) (437) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.im = smeeM.stator.electroMagneticConverter.port_p.V_m.im ($RES_SIM_1201) (438) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[3].T = smeeM.stator.heatPortWinding[3].T ($RES_SIM_1021) (439) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.re = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.re ($RES_SIM_1200) (440) [SCAL] (1) smeeM.excitation.v = smeeM.brush.n.v ($RES_BND_1355) (441) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[4].T = smeeM.internalThermalPort.heatPortStatorWinding[4].T ($RES_SIM_1020) (442) [SCAL] (1) smeeM.rotorCage.strayReluctance.arg_Phi = Modelica.Math.atan3(smeeM.rotorCage.strayReluctance.Phi.im, smeeM.rotorCage.strayReluctance.Phi.re, 0.0) ($RES_BND_1354) (443) [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_1353) (444) [ARRY] (3) currentRMSsensor3.plug_n.pin.v = terminalBox3.plugSupply.pin.v ($RES_SIM_690) (445) [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_1352) (446) [FOR-] (3) ($RES_SIM_691) (446) [----] for $i1 in 1:3 loop (446) [----] [SCAL] (1) electricalPowerSensor3.plug_ni.pin[$i1].i + currentRMSsensor3.plug_p.pin[$i1].i = 0.0 ($RES_SIM_692) (446) [----] end for; (447) [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_1351) (448) [SCAL] (1) smee3.groundR.port_p.V_m.im = smee3.excitation.port_p.V_m.im ($RES_SIM_872) (449) [ARRY] (3) electricalPowerSensor3.plug_ni.pin.v = currentRMSsensor3.plug_p.pin.v ($RES_SIM_693) (450) [SCAL] (1) smee3.groundR.port_p.V_m.im = smee3.airGap.port_rn.V_m.im ($RES_SIM_873) (451) [SCAL] (1) smee3.groundR.port_p.V_m.re = smee3.excitation.port_p.V_m.re ($RES_SIM_874) (452) [FOR-] (3) ($RES_SIM_695) (452) [----] for $i1 in 1:3 loop (452) [----] [SCAL] (1) electricalPowerSensor3.plug_p.pin[$i1].i + sineVoltage3.plug_p.pin[$i1].i = 0.0 ($RES_SIM_696) (452) [----] end for; (453) [SCAL] (1) smee3.groundR.port_p.V_m.re = smee3.airGap.port_rn.V_m.re ($RES_SIM_875) (454) [ARRY] (3) electricalPowerSensor3.plug_p.pin.v = sineVoltage3.plug_p.pin.v ($RES_SIM_697) (455) [FOR-] (5) ($RES_SIM_698) (455) [----] for $i1 in 1:5 loop (455) [----] [SCAL] (1) smeeM.plug_sp.pin[$i1].i + terminalBoxM.plug_sp.pin[$i1].i = 0.0 ($RES_SIM_699) (455) [----] end for; (456) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[4].T = smeeM.stator.heatPortWinding[4].T ($RES_SIM_1019) (457) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[5].T = smeeM.internalThermalPort.heatPortStatorWinding[5].T ($RES_SIM_1018) (458) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[5].T = smeeM.stator.heatPortWinding[5].T ($RES_SIM_1017) (459) [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_1016) (460) [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_1015) (461) [FOR-] (2) ($RES_BND_1349) (461) [----] for $i1 in 1:2 loop (461) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].heatPort.T = smeeM.rotorCage.resistor.resistor[$i1].T_heatPort ($RES_BND_1350) (461) [----] end for; (462) [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_1014) (463) [SCAL] (1) (smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[4].Q_flow + smeeM.stator.heatPortWinding[4].Q_flow) - smeeM.internalThermalPort.heatPortStatorWinding[4].Q_flow = 0.0 ($RES_SIM_1013) (464) [FOR-] (2) ($RES_BND_1347) (464) [----] for $i1 in 1:2 loop (464) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].heatPort.Q_flow = -smeeM.rotorCage.resistor.resistor[$i1].LossPower ($RES_BND_1348) (464) [----] end for; (465) [SCAL] (1) (smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[5].Q_flow + smeeM.stator.heatPortWinding[5].Q_flow) - smeeM.internalThermalPort.heatPortStatorWinding[5].Q_flow = 0.0 ($RES_SIM_1012) (466) [FOR-] (2) ($RES_BND_1345) (466) [----] for $i1 in 1:2 loop (466) [----] [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_1346) (466) [----] end for; (467) [FOR-] (2) ($RES_BND_1343) (467) [----] for $i1 in 1:2 loop (467) [----] [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_1344) (467) [----] end for; (468) [ARRY] (2) smee3.ir = smee3.rotorCage.i ($RES_SIM_880) (469) [FOR-] (2) ($RES_BND_1341) (469) [----] for $i1 in 1:2 loop (469) [----] [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_1342) (469) [----] end for; (470) [SCAL] (1) (smee3.excitation.electroMagneticConverter.port_n.Phi.im + smee3.excitation.reluctance.port_n.Phi.im) - smee3.excitation.port_n.Phi.im = 0.0 ($RES_SIM_884) (471) [SCAL] (1) (smee3.excitation.electroMagneticConverter.port_n.Phi.re + smee3.excitation.reluctance.port_n.Phi.re) - smee3.excitation.port_n.Phi.re = 0.0 ($RES_SIM_885) (472) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_n.V_m.im = smee3.excitation.port_n.V_m.im ($RES_SIM_886) (473) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_n.V_m.im = smee3.excitation.reluctance.port_n.V_m.im ($RES_SIM_887) (474) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_n.V_m.re = smee3.excitation.port_n.V_m.re ($RES_SIM_888) (475) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_n.V_m.re = smee3.excitation.reluctance.port_n.V_m.re ($RES_SIM_889) (476) [ARRY] (3) smee3.stator.electroMagneticConverter.plug_p.pin.v = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v ($RES_SIM_1008) (477) [FOR-] (3) ($RES_SIM_1006) (477) [----] for $i1 in 1:3 loop (477) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i - smee3.stator.electroMagneticConverter.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1007) (477) [----] end for; (478) [ARRY] (3) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v = smee3.stator.electroMagneticConverter.plug_n.pin.v ($RES_SIM_1005) (479) [FOR-] (2) ($RES_BND_1339) (479) [----] for $i1 in 1:2 loop (479) [----] [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_1340) (479) [----] end for; (480) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.arg_Phi = Modelica.Math.atan3(smeeM.rotorCage.electroMagneticConverter.Phi.im, smeeM.rotorCage.electroMagneticConverter.Phi.re, 0.0) ($RES_BND_1338) (481) [FOR-] (3) ($RES_SIM_1003) (481) [----] for $i1 in 1:3 loop (481) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i - smee3.stator.electroMagneticConverter.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1004) (481) [----] end for; (482) [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_1337) (483) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.re = smee3.stator.electroMagneticConverter.port_p.V_m.re ($RES_SIM_1002) (484) [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_1336) (485) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.im = smee3.stator.electroMagneticConverter.port_p.V_m.im ($RES_SIM_1001) (486) [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_1335) (487) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.re = smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.re ($RES_SIM_1000) (488) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.i = smeeM.rotorCage.electroMagneticConverter.plug_p.pin.i ($RES_BND_1334) (489) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.v = smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v - smeeM.rotorCage.electroMagneticConverter.plug_n.pin.v ($RES_BND_1333) (490) [SCAL] (1) (smee3.excitation.electroMagneticConverter.port_p.Phi.im + smee3.excitation.reluctance.port_p.Phi.im) - smee3.excitation.port_p.Phi.im = 0.0 ($RES_SIM_890) (491) [SCAL] (1) (smee3.excitation.electroMagneticConverter.port_p.Phi.re + smee3.excitation.reluctance.port_p.Phi.re) - smee3.excitation.port_p.Phi.re = 0.0 ($RES_SIM_891) (492) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_p.V_m.im = smee3.excitation.port_p.V_m.im ($RES_SIM_892) (493) [ARRY] (2) smeeM.rotorCage.i = smeeM.rotorCage.electroMagneticConverter.i ($RES_BND_1330) (494) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_p.V_m.im = smee3.excitation.reluctance.port_p.V_m.im ($RES_SIM_893) (495) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_p.V_m.re = smee3.excitation.port_p.V_m.re ($RES_SIM_894) (496) [SCAL] (1) smee3.excitation.electroMagneticConverter.port_p.V_m.re = smee3.excitation.reluctance.port_p.V_m.re ($RES_SIM_895) (497) [FOR-] (2) ($RES_SIM_899) (497) [----] for $i1 in 1:2 loop (497) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.plug_p.pin[$i1].i + smee3.rotorCage.resistor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_900) (497) [----] end for; (498) [SCAL] (1) -star3.pin_n.i = sum(star3.plug_p.pin.i) ($RES_$AUX_1538) (499) [SCAL] (1) smeeM.rotorCage.arg_Phi = Modelica.Math.atan3(smeeM.rotorCage.Phi.im, smeeM.rotorCage.Phi.re, 0.0) ($RES_BND_1329) (500) [FOR-] (3) ($RES_$AUX_1536) (500) [----] for $i1 in 1:3 loop (500) [----] [SCAL] (1) $FUN_2[$i1] = sin(sineVoltage3.sineVoltage[$i1].signalSource.freqHz * 6.283185307179586 * (time - sineVoltage3.sineVoltage[$i1].signalSource.startTime) + sineVoltage3.sineVoltage[$i1].signalSource.phase) ($RES_$AUX_1537) (500) [----] end for; (501) [SCAL] (1) smeeM.rotorCage.abs_Phi = (smeeM.rotorCage.Phi.re ^ 2.0 + smeeM.rotorCage.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1328) (502) [TUPL] (3) ($FUN_3, $FUN_4) = Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor(electricalPowerSensor3.plug_p.pin.v - electricalPowerSensor3.plug_nv.pin.v) ($RES_$AUX_1535) (503) [SCAL] (1) smeeM.rotorCage.arg_V_m = Modelica.Math.atan3(smeeM.rotorCage.V_m.im, smeeM.rotorCage.V_m.re, 0.0) ($RES_BND_1327) (504) [TUPL] (3) ($FUN_5, $FUN_6) = Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor(electricalPowerSensor3.plug_p.pin.i) ($RES_$AUX_1534) (505) [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_1326) (506) [RECD] (2) smee3.excitation.Phi = smee3.excitation.port_p.Phi ($RES_BND_1505) (507) [SCAL] (1) 0.0 = sum(terminalBoxM.star.plug_p.pin.i) ($RES_$AUX_1533) (508) [SCAL] (1) 0.0 = sum(terminalBox3.star.plug_p.pin.i) ($RES_$AUX_1532) (509) [SCAL] (1) smeeM.ve = rampCurrentM.n.v ($RES_BND_1324) (510) [RECD] (2) smee3.rotorCage.electroMagneticConverter.Phi = smee3.rotorCage.electroMagneticConverter.port_p.Phi ($RES_BND_1503) (511) [SCAL] (1) 5.0 * smeeM.stator.zeroInductor.i0 = sum(smeeM.stator.zeroInductor.i) ($RES_$AUX_1531) (512) [SCAL] (1) smeeM.thermalAmbient.Q_flowStatorWinding = sum(smeeM.thermalAmbient.thermalCollectorStator.port_a.Q_flow) ($RES_$AUX_1530) (513) [SCAL] (1) smeeM.strayLoad.iRMS = sqrt(sum(0.2 .* smeeM.strayLoad.i .^ 2.0)) ($RES_BND_1322) (514) [RECD] (2) smee3.rotorCage.Phi = smee3.rotorCage.port_p.Phi ($RES_BND_1501) (515) [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_1320) (516) [SCAL] (1) -smeeM.rotorCage.star.pin_n.i = sum(smeeM.rotorCage.star.plug_p.pin.i) ($RES_$AUX_1529) (517) [SCAL] (1) -smeeM.rotorCage.heatPortWinding.Q_flow = sum(smeeM.rotorCage.thermalCollector.port_a.Q_flow) ($RES_$AUX_1528) (518) [SCAL] (1) 3.0 * smee3.stator.zeroInductor.i0 = sum(smee3.stator.zeroInductor.i) ($RES_$AUX_1527) (519) [SCAL] (1) smee3.thermalAmbient.Q_flowStatorWinding = sum(smee3.thermalAmbient.thermalCollectorStator.port_a.Q_flow) ($RES_$AUX_1526) (520) [SCAL] (1) -smee3.rotorCage.star.pin_n.i = sum(smee3.rotorCage.star.plug_p.pin.i) ($RES_$AUX_1525) (521) [SCAL] (1) -smee3.rotorCage.heatPortWinding.Q_flow = sum(smee3.rotorCage.thermalCollector.port_a.Q_flow) ($RES_$AUX_1524) (522) [SCAL] (1) 3.0 * rotorAngle3.ToSpacePhasorVS.zero = sum(rotorAngle3.ToSpacePhasorVS.u) ($RES_$AUX_1523) (523) [SCAL] (1) $FUN_18 = sqrt(rotorAngle3.ToPolarVSR.u[1] ^ 2.0 + rotorAngle3.ToPolarVSR.u[2] ^ 2.0) ($RES_$AUX_1522) (524) [SCAL] (1) $FUN_19 = atan2(rotorAngle3.ToPolarVSR.u[2], rotorAngle3.ToPolarVSR.u[1]) ($RES_$AUX_1521) (525) [SCAL] (1) rotorAngle3.wrapAngle.y = Modelica.Math.wrapAngle(rotorAngle3.lessThreshold.y, rotorAngle3.wrapAngle.positiveRange) ($RES_$AUX_1520) (526) [SCAL] (1) smeeM.stator.strayReluctance.arg_Phi = Modelica.Math.atan3(smeeM.stator.strayReluctance.Phi.im, smeeM.stator.strayReluctance.Phi.re, 0.0) ($RES_BND_1312) (527) [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_1311) (528) [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_1310) (529) [SCAL] (1) 3.0 * currentRMSsensor3.ToSpacePhasor1.zero = sum(currentRMSsensor3.ToSpacePhasor1.u) ($RES_$AUX_1519) (530) [SCAL] (1) $FUN_22 = sqrt(currentRMSsensor3.ToPolar1.u[1] ^ 2.0 + currentRMSsensor3.ToPolar1.u[2] ^ 2.0) ($RES_$AUX_1518) (531) [SCAL] (1) $FUN_23 = atan2(currentRMSsensor3.ToPolar1.u[2], currentRMSsensor3.ToPolar1.u[1]) ($RES_$AUX_1517) (532) [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_1309) (533) [SCAL] (1) -starM.pin_n.i = sum(starM.plug_p.pin.i) ($RES_$AUX_1516) (534) [FOR-] (5) ($RES_$AUX_1514) (534) [----] for $i1 in 1:5 loop (534) [----] [SCAL] (1) $FUN_25[$i1] = sin(sineVoltageM.sineVoltage[$i1].signalSource.freqHz * 6.283185307179586 * (time - sineVoltageM.sineVoltage[$i1].signalSource.startTime) + sineVoltageM.sineVoltage[$i1].signalSource.phase) ($RES_$AUX_1515) (534) [----] end for; (535) [SCAL] (1) smeeM.stator.core.arg_Phi = Modelica.Math.atan3(smeeM.stator.core.Phi.im, smeeM.stator.core.Phi.re, 0.0) ($RES_BND_1306) (536) [SCAL] (1) $FUN_26 = cos(-rotorAngle3.add.y) ($RES_$AUX_1513) (537) [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_1305) (538) [SCAL] (1) $FUN_27 = sin(-rotorAngle3.add.y) ($RES_$AUX_1512) (539) [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_1304) (540) [SCAL] (1) smee3.damperCageLossPower = sum(smee3.rotorCage.resistor.resistor.LossPower) ($RES_$AUX_1511) (541) [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_1303) (542) [SCAL] (1) 1.4142135623730951 * smee3.irRMS = sqrt(smee3.rotorCage.i[1] ^ 2.0 + smee3.rotorCage.i[2] ^ 2.0) ($RES_$AUX_1510) (543) [FOR-] (5) ($RES_BND_1301) (543) [----] for $i1 in 1:5 loop (543) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].heatPort.T = smeeM.stator.resistor.resistor[$i1].T_heatPort ($RES_BND_1302) (543) [----] end for; (544) [SCAL] (1) $FUN_30 = sum(smee3.stator.resistor.resistor.LossPower) ($RES_$AUX_1509) (545) [SCAL] (1) smeeM.damperCageLossPower = sum(smeeM.rotorCage.resistor.resistor.LossPower) ($RES_$AUX_1508) (546) [SCAL] (1) 1.4142135623730951 * smeeM.irRMS = sqrt(smeeM.rotorCage.i[1] ^ 2.0 + smeeM.rotorCage.i[2] ^ 2.0) ($RES_$AUX_1507) (547) [SCAL] (1) $FUN_33 = sum(smeeM.stator.resistor.resistor.LossPower) ($RES_$AUX_1506) (548) [SCAL] (1) 0.0 = rampCurrent3.n.v - smee3.brush.n.v ($RES_SIM_101) (549) [SCAL] (1) -smee3.brush.heatPort.Q_flow = 0.0 ($RES_SIM_102) (550) [RECD] (2) smee3.excitation.reluctance.port_p.Phi = smee3.excitation.reluctance.Phi ($RES_SIM_105) (551) [SCAL] (1) 1.5707963267948966 * smee3.excitation.reluctance.V_m.im = smee3.excitation.reluctance.R_m.q * smee3.excitation.reluctance.Phi.im ($RES_SIM_107) (552) [SCAL] (1) 1.5707963267948966 * smee3.excitation.reluctance.V_m.re = smee3.excitation.reluctance.R_m.d * smee3.excitation.reluctance.Phi.re ($RES_SIM_108) (553) [SCAL] (1) -smee3.excitation.electroMagneticConverter.v = $DER.smee3.excitation.electroMagneticConverter.Phi.re * smee3.excitation.electroMagneticConverter.N.re + $DER.smee3.excitation.electroMagneticConverter.Phi.im * smee3.excitation.electroMagneticConverter.N.im ($RES_SIM_109) (554) [SCAL] (1) smee3.excitation.electroMagneticConverter.v = smee3.excitation.resistor.n.v ($RES_SIM_113) (555) [RECD] (2) smee3.excitation.electroMagneticConverter.port_p.Phi = smee3.excitation.electroMagneticConverter.Phi ($RES_SIM_116) (556) [SCAL] (1) smee3.excitation.resistor.v = smee3.brush.n.v - smee3.excitation.resistor.n.v ($RES_SIM_119) (557) [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_1599) (558) [SCAL] (1) smeeM.excitation.electroMagneticConverter.V_m.im = 0.6366197723675814 * smeeM.excitation.electroMagneticConverter.N.im * smeeM.ie ($RES_SIM_1598) (559) [SCAL] (1) smeeM.excitation.electroMagneticConverter.V_m.re = 0.6366197723675814 * smeeM.excitation.electroMagneticConverter.N.re * smeeM.ie ($RES_SIM_1597) (560) [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_1596) (561) [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_1595) (562) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.Phi.im + smeeM.excitation.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_1594) (563) [SCAL] (1) smeeM.excitation.electroMagneticConverter.port_p.Phi.re + smeeM.excitation.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_1593) (564) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.Phi.im + smeeM.rotorCage.strayReluctance.port_n.Phi.im = 0.0 ($RES_SIM_1592) (565) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.Phi.re + smeeM.rotorCage.strayReluctance.port_n.Phi.re = 0.0 ($RES_SIM_1591) (566) [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_1590) (567) [SCAL] (1) smee3.excitation.resistor.LossPower = smee3.excitation.resistor.v * smee3.ie ($RES_SIM_120) (568) [RECD] (2) smeeM.rotorCage.strayReluctance.port_p.Phi = smeeM.rotorCage.strayReluctance.Phi ($RES_SIM_300) (569) [SCAL] (1) smee3.excitation.resistor.v = smee3.excitation.resistor.R_actual * smee3.ie ($RES_SIM_121) (570) [SCAL] (1) smee3.excitation.resistor.R_actual = smee3.excitation.resistor.R * (1.0 + smee3.excitation.resistor.alpha * (smee3.thermalAmbient.constTe.k - smee3.excitation.resistor.T_ref)) ($RES_SIM_122) (571) [SCAL] (1) 1.5707963267948966 * smeeM.rotorCage.strayReluctance.V_m.im = smeeM.rotorCage.strayReluctance.R_m.q * smeeM.rotorCage.strayReluctance.Phi.im ($RES_SIM_302) (572) [SCAL] (1) 1.5707963267948966 * smeeM.rotorCage.strayReluctance.V_m.re = smeeM.rotorCage.strayReluctance.R_m.d * smeeM.rotorCage.strayReluctance.Phi.re ($RES_SIM_303) (573) [ARRY] (2) smeeM.rotorCage.thermalCollector.port_a.T = {smeeM.thermalAmbient.constTr.k for $i1 in 1:2} ($RES_SIM_304) (574) [RECD] (2) smee3.rotorCage.strayReluctance.port_p.Phi = smee3.rotorCage.strayReluctance.Phi ($RES_SIM_125) (575) [SCAL] (1) 1.5707963267948966 * smee3.rotorCage.strayReluctance.V_m.im = smee3.rotorCage.strayReluctance.R_m.q * smee3.rotorCage.strayReluctance.Phi.im ($RES_SIM_127) (576) [SCAL] (1) 1.5707963267948966 * smee3.rotorCage.strayReluctance.V_m.re = smee3.rotorCage.strayReluctance.R_m.d * smee3.rotorCage.strayReluctance.Phi.re ($RES_SIM_128) (577) [FOR-] (2) ($RES_SIM_308) (577) [----] for $i1 in 1:2 loop (577) [----] [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[$i1].v = 0.0 ($RES_SIM_309) (577) [----] end for; (578) [ARRY] (2) smee3.rotorCage.thermalCollector.port_a.T = {smee3.thermalAmbient.constTr.k for $i1 in 1:2} ($RES_SIM_129) (579) [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_1589) (580) [FOR-] (2) ($RES_SIM_1587) (580) [----] for $i1 in 1:2 loop (580) [----] [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_1588) (580) [----] end for; (581) [FOR-] (2) ($RES_SIM_1585) (581) [----] for $i1 in 1:2 loop (581) [----] [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_1586) (581) [----] end for; (582) [FOR-] (2) ($RES_SIM_1583) (582) [----] for $i1 in 1:2 loop (582) [----] [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_1584) (582) [----] end for; (583) [FOR-] (2) ($RES_SIM_1581) (583) [----] for $i1 in 1:2 loop (583) [----] [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_1582) (583) [----] end for; (584) [ARRY] (2) smeeM.rotorCage.resistor.i = smeeM.rotorCage.resistor.plug_p.pin.i ($RES_SIM_310) (585) [ARRY] (2) smeeM.rotorCage.resistor.v = smeeM.rotorCage.resistor.plug_p.pin.v - smeeM.rotorCage.resistor.plug_n.pin.v ($RES_SIM_311) (586) [FOR-] (2) ($RES_SIM_312) (586) [----] for $i1 in 1:2 loop (586) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].i = smeeM.rotorCage.resistor.resistor[$i1].p.i ($RES_SIM_313) (586) [----] end for; (587) [FOR-] (2) ($RES_SIM_133) (587) [----] for $i1 in 1:2 loop (587) [----] [SCAL] (1) smee3.rotorCage.star.plug_p.pin[$i1].v = 0.0 ($RES_SIM_134) (587) [----] end for; (588) [FOR-] (2) ($RES_SIM_314) (588) [----] for $i1 in 1:2 loop (588) [----] [SCAL] (1) 0.0 = smeeM.rotorCage.resistor.resistor[$i1].p.i + smeeM.rotorCage.resistor.resistor[$i1].n.i ($RES_SIM_315) (588) [----] end for; (589) [ARRY] (2) smee3.rotorCage.resistor.i = smee3.rotorCage.resistor.plug_p.pin.i ($RES_SIM_135) (590) [ARRY] (2) smee3.rotorCage.resistor.v = smee3.rotorCage.resistor.plug_p.pin.v - smee3.rotorCage.resistor.plug_n.pin.v ($RES_SIM_136) (591) [FOR-] (2) ($RES_SIM_316) (591) [----] for $i1 in 1:2 loop (591) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].v = smeeM.rotorCage.resistor.resistor[$i1].p.v - smeeM.rotorCage.resistor.resistor[$i1].n.v ($RES_SIM_317) (591) [----] end for; (592) [FOR-] (2) ($RES_SIM_137) (592) [----] for $i1 in 1:2 loop (592) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].i = smee3.rotorCage.resistor.resistor[$i1].p.i ($RES_SIM_138) (592) [----] end for; (593) [FOR-] (2) ($RES_SIM_318) (593) [----] for $i1 in 1:2 loop (593) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].LossPower = smeeM.rotorCage.resistor.resistor[$i1].v * smeeM.rotorCage.resistor.resistor[$i1].i ($RES_SIM_319) (593) [----] end for; (594) [FOR-] (2) ($RES_SIM_139) (594) [----] for $i1 in 1:2 loop (594) [----] [SCAL] (1) 0.0 = smee3.rotorCage.resistor.resistor[$i1].p.i + smee3.rotorCage.resistor.resistor[$i1].n.i ($RES_SIM_140) (594) [----] end for; (595) [FOR-] (2) ($RES_SIM_1579) (595) [----] for $i1 in 1:2 loop (595) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_1580) (595) [----] end for; (596) [FOR-] (2) ($RES_SIM_1577) (596) [----] for $i1 in 1:2 loop (596) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_1578) (596) [----] end for; (597) [SCAL] (1) smeeM.groundR.port_p.V_m.im = 0.0 ($RES_SIM_1576) (598) [SCAL] (1) smeeM.groundR.port_p.V_m.re = 0.0 ($RES_SIM_1575) (599) [SCAL] (1) smeeM.airGap.rotator.im = sin(smeeM.airGap.gamma) ($RES_SIM_1574) (600) [SCAL] (1) smeeM.airGap.rotator.re = cos(smeeM.airGap.gamma) ($RES_SIM_1573) (601) [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_1572) (602) [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_1571) (603) [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_1570) (604) [FOR-] (2) ($RES_SIM_320) (604) [----] for $i1 in 1:2 loop (604) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].v = smeeM.rotorCage.resistor.resistor[$i1].R_actual * smeeM.rotorCage.resistor.resistor[$i1].i ($RES_SIM_321) (604) [----] end for; (605) [FOR-] (2) ($RES_SIM_141) (605) [----] for $i1 in 1:2 loop (605) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].v = smee3.rotorCage.resistor.resistor[$i1].p.v - smee3.rotorCage.resistor.resistor[$i1].n.v ($RES_SIM_142) (605) [----] end for; (606) [SCAL] (1) mechanicalPowerSensorM.torqueSensor.flange_a.tau - smeeM.tauShaft = 0.0 ($RES_SIM_500) (607) [FOR-] (2) ($RES_SIM_322) (607) [----] for $i1 in 1:2 loop (607) [----] [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_323) (607) [----] end for; (608) [FOR-] (2) ($RES_SIM_143) (608) [----] for $i1 in 1:2 loop (608) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].LossPower = smee3.rotorCage.resistor.resistor[$i1].v * smee3.rotorCage.resistor.resistor[$i1].i ($RES_SIM_144) (608) [----] end for; (609) [FOR-] (2) ($RES_SIM_145) (609) [----] for $i1 in 1:2 loop (609) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].v = smee3.rotorCage.resistor.resistor[$i1].R_actual * smee3.rotorCage.resistor.resistor[$i1].i ($RES_SIM_146) (609) [----] end for; (610) [SCAL] (1) mechanicalPowerSensor3.flange_a.tau - smee3.tauShaft = 0.0 ($RES_SIM_504) (611) [FOR-] (2) ($RES_SIM_326) (611) [----] for $i1 in 1:2 loop (611) [----] [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_327) (611) [----] end for; (612) [FOR-] (2) ($RES_SIM_147) (612) [----] for $i1 in 1:2 loop (612) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].R_actual = smee3.rotorCage.resistor.resistor[$i1].R * (1.0 + smee3.rotorCage.resistor.resistor[$i1].alpha * (smee3.rotorCage.resistor.resistor[$i1].T_heatPort - smee3.rotorCage.resistor.resistor[$i1].T_ref)) ($RES_SIM_148) (612) [----] end for; (613) [SCAL] (1) (groundR3.p.i + smee3.ie) - smee3.ie = 0.0 ($RES_SIM_507) (614) [SCAL] (1) (groundRM.p.i + smeeM.ie) - smeeM.ie = 0.0 ($RES_SIM_508) (615) [SCAL] (1) smee3.thermalAmbient.thermalPort.heatPortBrush.Q_flow + smee3.brush.heatPort.Q_flow = 0.0 ($RES_SIM_509) (616) [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_1569) (617) [SCAL] (1) smeeM.airGap.port_rp.V_m.im - smeeM.airGap.port_rn.V_m.im = smeeM.airGap.V_mrr.im ($RES_SIM_1568) (618) [SCAL] (1) smeeM.airGap.port_rp.V_m.re - smeeM.airGap.port_rn.V_m.re = smeeM.airGap.V_mrr.re ($RES_SIM_1567) (619) [SCAL] (1) smeeM.airGap.port_sp.V_m.im - smeeM.airGap.port_sn.V_m.im = smeeM.airGap.V_mss.im ($RES_SIM_1566) (620) [SCAL] (1) smeeM.airGap.port_sp.V_m.re - smeeM.airGap.port_sn.V_m.re = smeeM.airGap.V_mss.re ($RES_SIM_1565) (621) [SCAL] (1) smeeM.airGap.port_rp.Phi.im + smeeM.airGap.port_rn.Phi.im = 0.0 ($RES_SIM_1564) (622) [SCAL] (1) smeeM.airGap.port_rp.Phi.re + smeeM.airGap.port_rn.Phi.re = 0.0 ($RES_SIM_1563) (623) [SCAL] (1) smeeM.airGap.port_sp.Phi.im + smeeM.airGap.port_sn.Phi.im = 0.0 ($RES_SIM_1562) (624) [SCAL] (1) smeeM.airGap.port_sp.Phi.re + smeeM.airGap.port_sn.Phi.re = 0.0 ($RES_SIM_1561) (625) [SCAL] (1) smeeM.groundS.port_p.V_m.im = 0.0 ($RES_SIM_1560) (626) [FOR-] (2) ($RES_SIM_330) (626) [----] for $i1 in 1:2 loop (626) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i = 0.0 ($RES_SIM_331) (626) [----] end for; (627) [FOR-] (2) ($RES_SIM_151) (627) [----] for $i1 in 1:2 loop (627) [----] [SCAL] (1) -smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].v = $DER.smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi.re * smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.re + $DER.smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi.im * smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.N.im ($RES_SIM_152) (627) [----] end for; (628) [SCAL] (1) smee3.thermalAmbient.Q_flowExcitation - smee3.excitation.resistor.LossPower = 0.0 ($RES_SIM_511) (629) [FOR-] (2) ($RES_SIM_332) (629) [----] for $i1 in 1:2 loop (629) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i ($RES_SIM_333) (629) [----] end for; (630) [FOR-] (2) ($RES_SIM_334) (630) [----] for $i1 in 1:2 loop (630) [----] [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_335) (630) [----] end for; (631) [FOR-] (2) ($RES_SIM_155) (631) [----] for $i1 in 1:2 loop (631) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i + smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i = 0.0 ($RES_SIM_156) (631) [----] end for; (632) [SCAL] (1) smee3.groundR.port_p.Phi.im + smee3.excitation.port_p.Phi.im + smee3.airGap.port_rn.Phi.im = 0.0 ($RES_SIM_514) (633) [SCAL] (1) smee3.groundR.port_p.Phi.re + smee3.excitation.port_p.Phi.re + smee3.airGap.port_rn.Phi.re = 0.0 ($RES_SIM_515) (634) [FOR-] (2) ($RES_SIM_157) (634) [----] for $i1 in 1:2 loop (634) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].i = smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i ($RES_SIM_158) (634) [----] end for; (635) [SCAL] (1) smee3.thermalAmbient.Q_flowRotorWinding + smee3.rotorCage.heatPortWinding.Q_flow = 0.0 ($RES_SIM_517) (636) [FOR-] (2) ($RES_SIM_159) (636) [----] for $i1 in 1:2 loop (636) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].v = smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.v - smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.v ($RES_SIM_160) (636) [----] end for; (637) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.im - smee3.rotorCage.electroMagneticConverter.port_p.Phi.im = 0.0 ($RES_SIM_519) (638) [SCAL] (1) smeeM.groundS.port_p.V_m.re = 0.0 ($RES_SIM_1559) (639) [SCAL] (1) smeeM.stator.strayReluctance.port_p.Phi.im + smeeM.stator.strayReluctance.port_n.Phi.im = 0.0 ($RES_SIM_1558) (640) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.im = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.im ($RES_SIM_1199) (641) [SCAL] (1) smeeM.stator.strayReluctance.port_p.Phi.re + smeeM.stator.strayReluctance.port_n.Phi.re = 0.0 ($RES_SIM_1557) (642) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.re = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.V_m.re ($RES_SIM_1198) (643) [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_1556) (644) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.im = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.V_m.im ($RES_SIM_1197) (645) [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_1555) (646) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.V_m.re = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].port_p.V_m.re ($RES_SIM_1196) (647) [SCAL] (1) smeeM.stator.core.port_p.Phi.im + smeeM.stator.core.port_n.Phi.im = 0.0 ($RES_SIM_1554) (648) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.V_m.im = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].port_p.V_m.im ($RES_SIM_1195) (649) [SCAL] (1) smeeM.stator.core.port_p.Phi.re + smeeM.stator.core.port_n.Phi.re = 0.0 ($RES_SIM_1553) (650) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].port_n.V_m.re = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].port_p.V_m.re ($RES_SIM_1194) (651) [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_1552) (652) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].port_n.V_m.im = smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].port_p.V_m.im ($RES_SIM_1193) (653) [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_1551) (654) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].port_n.V_m.re = smeeM.stator.electroMagneticConverter.port_n.V_m.re ($RES_SIM_1192) (655) [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].port_n.V_m.im = smeeM.stator.electroMagneticConverter.port_n.V_m.im ($RES_SIM_1191) (656) [ARRY] (5) smeeM.stator.resistor.resistor.p.v = smeeM.stator.resistor.plug_p.pin.v ($RES_SIM_1190) (657) [FOR-] (4) ($RES_SIM_340) (657) [----] for $i1 in 1:2 loop (657) [----] [RECD] (2) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].port_p.Phi = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi ($RES_SIM_341) (657) [----] end for; (658) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.re - smee3.rotorCage.electroMagneticConverter.port_p.Phi.re = 0.0 ($RES_SIM_520) (659) [ARRY] (5) smeeM.plug_sp.pin.v = terminalBoxM.plug_sp.pin.v ($RES_SIM_700) (660) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.im - smee3.rotorCage.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_521) (661) [FOR-] (5) ($RES_SIM_701) (661) [----] for $i1 in 1:5 loop (661) [----] [SCAL] (1) smeeM.plug_sn.pin[$i1].i + terminalBoxM.plug_sn.pin[$i1].i = 0.0 ($RES_SIM_702) (661) [----] end for; (662) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.im + smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.im = 0.0 ($RES_SIM_522) (663) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.re - smee3.rotorCage.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_523) (664) [SCAL] (1) smeeM.friction.w = $DER.smeeM.friction.phi ($RES_SIM_344) (665) [FOR-] (4) ($RES_SIM_165) (665) [----] for $i1 in 1:2 loop (665) [----] [RECD] (2) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].port_p.Phi = smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].Phi ($RES_SIM_166) (665) [----] end for; (666) [ARRY] (5) smeeM.plug_sn.pin.v = terminalBoxM.plug_sn.pin.v ($RES_SIM_703) (667) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.re + smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.re = 0.0 ($RES_SIM_524) (668) [SCAL] (1) smeeM.friction.phi = constantSpeedM.flange.phi - smeeM.fixed.phi0 ($RES_SIM_345) (669) [SCAL] (1) (smee3.rotorCage.electroMagneticConverter.port_n.Phi.im + smee3.rotorCage.strayReluctance.port_n.Phi.im) - smee3.rotorCage.port_n.Phi.im = 0.0 ($RES_SIM_525) (670) [SCAL] (1) -smeeM.friction.heatPort.Q_flow = 0.0 ($RES_SIM_346) (671) [SCAL] (1) (smee3.rotorCage.electroMagneticConverter.port_n.Phi.re + smee3.rotorCage.strayReluctance.port_n.Phi.re) - smee3.rotorCage.port_n.Phi.re = 0.0 ($RES_SIM_526) (672) [SCAL] (1) (smee3.rotorCage.electroMagneticConverter.port_p.Phi.im + smee3.rotorCage.strayReluctance.port_p.Phi.im) - smee3.rotorCage.port_p.Phi.im = 0.0 ($RES_SIM_527) (673) [ARRY] (5) smeeM.strayLoad.i = smeeM.strayLoad.plug_p.pin.i ($RES_SIM_348) (674) [SCAL] (1) smee3.friction.w = $DER.smee3.friction.phi ($RES_SIM_169) (675) [SCAL] (1) (smee3.rotorCage.electroMagneticConverter.port_p.Phi.re + smee3.rotorCage.strayReluctance.port_p.Phi.re) - smee3.rotorCage.port_p.Phi.re = 0.0 ($RES_SIM_528) (676) [ARRY] (5) smeeM.strayLoad.v = smeeM.strayLoad.plug_p.pin.v - smeeM.strayLoad.plug_n.pin.v ($RES_SIM_349) (677) [SCAL] (1) smee3.excitation.port_n.Phi.im + smee3.rotorCage.port_p.Phi.im = 0.0 ($RES_SIM_529) (678) [FOR-] (5) ($RES_SIM_1549) (678) [----] for $i1 in 1:5 loop (678) [----] [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_1550) (678) [----] end for; (679) [FOR-] (5) ($RES_SIM_1547) (679) [----] for $i1 in 1:5 loop (679) [----] [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_1548) (679) [----] end for; (680) [FOR-] (5) ($RES_SIM_1188) (680) [----] for $i1 in 1:5 loop (680) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].p.i - smeeM.stator.resistor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1189) (680) [----] end for; (681) [ARRY] (5) smeeM.stator.resistor.resistor.n.v = smeeM.stator.resistor.plug_n.pin.v ($RES_SIM_1187) (682) [FOR-] (5) ($RES_SIM_1545) (682) [----] for $i1 in 1:5 loop (682) [----] [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_1546) (682) [----] end for; (683) [FOR-] (5) ($RES_SIM_1185) (683) [----] for $i1 in 1:5 loop (683) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].n.i - smeeM.stator.resistor.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1186) (683) [----] end for; (684) [FOR-] (5) ($RES_SIM_1543) (684) [----] for $i1 in 1:5 loop (684) [----] [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_1544) (684) [----] end for; (685) [ARRY] (5) smeeM.stator.resistor.resistor.heatPort.T = smeeM.stator.resistor.heatPort.T ($RES_SIM_1184) (686) [FOR-] (5) ($RES_SIM_1541) (686) [----] for $i1 in 1:5 loop (686) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.im + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_1542) (686) [----] end for; (687) [FOR-] (5) ($RES_SIM_1182) (687) [----] for $i1 in 1:5 loop (687) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].heatPort.Q_flow - smeeM.stator.resistor.heatPort[$i1].Q_flow = 0.0 ($RES_SIM_1183) (687) [----] end for; (688) [ARRY] (5) smeeM.stator.plug_p.pin.v = smeeM.stator.resistor.plug_p.pin.v ($RES_SIM_1181) (689) [SCAL] (1) smee3.friction.phi = constantSpeed3.flange.phi - smee3.fixed.phi0 ($RES_SIM_170) (690) [ARRY] (5) smeeM.strayLoad.plug_p.pin.i + smeeM.strayLoad.plug_n.pin.i = {0.0 for $i1 in 1:5} ($RES_SIM_350) (691) [SCAL] (1) -smee3.friction.heatPort.Q_flow = 0.0 ($RES_SIM_171) (692) [SCAL] (1) smee3.excitation.port_n.Phi.re + smee3.rotorCage.port_p.Phi.re = 0.0 ($RES_SIM_530) (693) [ARRY] (3) smee3.strayLoad.i = smee3.strayLoad.plug_p.pin.i ($RES_SIM_173) (694) [SCAL] (1) smeeM.strayLoad.w = $DER.smeeM.strayLoad.phi ($RES_SIM_353) (695) [ARRY] (3) smee3.strayLoad.v = smee3.strayLoad.plug_p.pin.v - smee3.strayLoad.plug_n.pin.v ($RES_SIM_174) (696) [SCAL] (1) smeeM.strayLoad.phi = constantSpeedM.flange.phi - smeeM.fixed.phi0 ($RES_SIM_354) (697) [ARRY] (3) smee3.strayLoad.plug_p.pin.i + smee3.strayLoad.plug_n.pin.i = {0.0 for $i1 in 1:3} ($RES_SIM_175) (698) [SCAL] (1) electricalPowerSensor3.plug_nv.pin[3].i + star3.plug_p.pin[3].i + sineVoltage3.plug_n.pin[3].i = 0.0 ($RES_SIM_713) (699) [SCAL] (1) -smeeM.strayLoad.heatPort.Q_flow = 0.0 ($RES_SIM_355) (700) [SCAL] (1) electricalPowerSensor3.plug_nv.pin[2].i + star3.plug_p.pin[2].i + sineVoltage3.plug_n.pin[2].i = 0.0 ($RES_SIM_714) (701) [SCAL] (1) electricalPowerSensor3.plug_nv.pin[1].i + star3.plug_p.pin[1].i + sineVoltage3.plug_n.pin[1].i = 0.0 ($RES_SIM_715) (702) [ARRY] (5) smeeM.strayLoad.v = {0.0 for $i1 in 1:5} ($RES_SIM_357) (703) [SCAL] (1) smee3.strayLoad.w = $DER.smee3.strayLoad.phi ($RES_SIM_178) (704) [SCAL] (1) electricalPowerSensor3.plug_nv.pin[3].v = sineVoltage3.plug_n.pin[3].v ($RES_SIM_716) (705) [SCAL] (1) smee3.strayLoad.phi = constantSpeed3.flange.phi - smee3.fixed.phi0 ($RES_SIM_179) (706) [SCAL] (1) electricalPowerSensor3.plug_nv.pin[3].v = star3.plug_p.pin[3].v ($RES_SIM_717) (707) [SCAL] (1) electricalPowerSensor3.plug_nv.pin[2].v = sineVoltage3.plug_n.pin[2].v ($RES_SIM_718) (708) [FOR-] (3) ($RES_SIM_539) (708) [----] for $i1 in 1:3 loop (708) [----] [SCAL] (1) smee3.internalThermalPort.heatPortStatorWinding[$i1].Q_flow = 0.0 ($RES_SIM_540) (708) [----] end for; (709) [SCAL] (1) electricalPowerSensor3.plug_nv.pin[2].v = star3.plug_p.pin[2].v ($RES_SIM_719) (710) [FOR-] (5) ($RES_SIM_1539) (710) [----] for $i1 in 1:5 loop (710) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_p.Phi.re + smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_1540) (710) [----] end for; (711) [FOR-] (5) ($RES_SIM_1179) (711) [----] for $i1 in 1:5 loop (711) [----] [SCAL] (1) smeeM.stator.resistor.plug_p.pin[$i1].i - smeeM.stator.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1180) (711) [----] end for; (712) [ARRY] (5) smeeM.stator.resistor.plug_n.pin.v = smeeM.stator.zeroInductor.plug_p.pin.v ($RES_SIM_1178) (713) [FOR-] (5) ($RES_SIM_1176) (713) [----] for $i1 in 1:5 loop (713) [----] [SCAL] (1) smeeM.stator.resistor.plug_n.pin[$i1].i + smeeM.stator.zeroInductor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1177) (713) [----] end for; (714) [ARRY] (5) smeeM.stator.electroMagneticConverter.plug_n.pin.v = smeeM.stator.plug_n.pin.v ($RES_SIM_1175) (715) [FOR-] (5) ($RES_SIM_1173) (715) [----] for $i1 in 1:5 loop (715) [----] [SCAL] (1) smeeM.stator.electroMagneticConverter.plug_n.pin[$i1].i - smeeM.stator.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1174) (715) [----] end for; (716) [SCAL] (1) smeeM.stator.strayReluctance.port_p.V_m.re = smeeM.stator.electroMagneticConverter.port_p.V_m.re ($RES_SIM_1172) (717) [SCAL] (1) smeeM.stator.strayReluctance.port_p.V_m.re = smeeM.stator.port_p.V_m.re ($RES_SIM_1171) (718) [SCAL] (1) smeeM.stator.strayReluctance.port_p.V_m.im = smeeM.stator.electroMagneticConverter.port_p.V_m.im ($RES_SIM_1170) (719) [SCAL] (1) -smee3.strayLoad.heatPort.Q_flow = 0.0 ($RES_SIM_180) (720) [SCAL] (1) smeeM.airGap.gamma = smeeM.airGap.p * (constantSpeedM.flange.phi - smeeM.fixed.phi0) ($RES_SIM_360) (721) [ARRY] (3) smee3.strayLoad.v = {0.0 for $i1 in 1:3} ($RES_SIM_182) (722) [SCAL] (1) electricalPowerSensor3.plug_nv.pin[1].v = sineVoltage3.plug_n.pin[1].v ($RES_SIM_720) (723) [SCAL] (1) smee3.thermalAmbient.Q_flowFriction + smee3.friction.heatPort.Q_flow = 0.0 ($RES_SIM_541) (724) [SCAL] (1) electricalPowerSensor3.plug_nv.pin[1].v = star3.plug_p.pin[1].v ($RES_SIM_721) (725) [SCAL] (1) smee3.thermalAmbient.Q_flowStrayLoad + smee3.strayLoad.heatPort.Q_flow = 0.0 ($RES_SIM_542) (726) [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_363) (727) [ARRY] (2) smee3.rotorCage.electroMagneticConverter.plug_p.pin.v = smee3.rotorCage.resistor.plug_p.pin.v ($RES_SIM_901) (728) [SCAL] (1) smee3.tauShaft + smee3.inertiaRotor.flange_b.tau = 0.0 ($RES_SIM_543) (729) [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_364) (730) [SCAL] (1) smee3.airGap.gamma = smee3.airGap.p * (constantSpeed3.flange.phi - smee3.fixed.phi0) ($RES_SIM_185) (731) [FOR-] (2) ($RES_SIM_902) (731) [----] for $i1 in 1:2 loop (731) [----] [SCAL] (1) smee3.rotorCage.resistor.heatPort[$i1].Q_flow + smee3.rotorCage.thermalCollector.port_a[$i1].Q_flow = 0.0 ($RES_SIM_903) (731) [----] end for; (732) [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_365) (733) [SCAL] (1) smee3.rotorCage.port_n.Phi.im + smee3.airGap.port_rp.Phi.im = 0.0 ($RES_SIM_545) (734) [RECD] (2) smeeM.airGap.Phi_sr = smeeM.airGap.Phi_rr ($RES_SIM_366) (735) [ARRY] (2) smee3.rotorCage.resistor.heatPort.T = smee3.rotorCage.thermalCollector.port_a.T ($RES_SIM_904) (736) [SCAL] (1) terminalBox3.plug_sp.pin[3].i + smee3.plug_sp.pin[3].i + rotorAngle3.plug_p.pin[3].i = 0.0 ($RES_SIM_725) (737) [SCAL] (1) smee3.rotorCage.port_n.Phi.re + smee3.airGap.port_rp.Phi.re = 0.0 ($RES_SIM_546) (738) [SCAL] (1) smee3.tauElectrical = -(1.5707963267948966 * smee3.airGap.p) * (smee3.airGap.Phi_ss.im * smee3.airGap.V_mss.re - smee3.airGap.Phi_ss.re * smee3.airGap.V_mss.im) ($RES_SIM_188) (739) [SCAL] (1) terminalBox3.plug_sp.pin[2].i + smee3.plug_sp.pin[2].i + rotorAngle3.plug_p.pin[2].i = 0.0 ($RES_SIM_726) (740) [SCAL] (1) smee3.groundS.port_p.Phi.im + smee3.airGap.port_sp.Phi.im + smee3.stator.port_n.Phi.im = 0.0 ($RES_SIM_547) (741) [SCAL] (1) 1.5707963267948966 * (smee3.airGap.V_mrr.im + smee3.airGap.V_msr.im) = smee3.airGap.Phi_rr.im * smee3.airGap.R_m.q ($RES_SIM_189) (742) [SCAL] (1) smee3.rotorCage.star.plug_p.pin[2].i + smee3.rotorCage.electroMagneticConverter.plug_n.pin[2].i + smee3.rotorCage.resistor.plug_n.pin[2].i = 0.0 ($RES_SIM_906) (743) [SCAL] (1) terminalBox3.plug_sp.pin[1].i + smee3.plug_sp.pin[1].i + rotorAngle3.plug_p.pin[1].i = 0.0 ($RES_SIM_727) (744) [SCAL] (1) smee3.groundS.port_p.Phi.re + smee3.airGap.port_sp.Phi.re + smee3.stator.port_n.Phi.re = 0.0 ($RES_SIM_548) (745) [SCAL] (1) smee3.rotorCage.star.plug_p.pin[1].i + smee3.rotorCage.electroMagneticConverter.plug_n.pin[1].i + smee3.rotorCage.resistor.plug_n.pin[1].i = 0.0 ($RES_SIM_907) (746) [SCAL] (1) smee3.plug_sp.pin[3].v = rotorAngle3.plug_p.pin[3].v ($RES_SIM_728) (747) [SCAL] (1) smee3.rotorCage.star.plug_p.pin[2].v = smee3.rotorCage.resistor.plug_n.pin[2].v ($RES_SIM_908) (748) [SCAL] (1) smee3.plug_sp.pin[3].v = terminalBox3.plug_sp.pin[3].v ($RES_SIM_729) (749) [SCAL] (1) smee3.rotorCage.star.plug_p.pin[2].v = smee3.rotorCage.electroMagneticConverter.plug_n.pin[2].v ($RES_SIM_909) (750) [SCAL] (1) smeeM.stator.strayReluctance.port_p.V_m.im = smeeM.stator.port_p.V_m.im ($RES_SIM_1169) (751) [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_1168) (752) [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_1167) (753) [ARRY] (5) smeeM.stator.resistor.heatPort.T = smeeM.stator.heatPortWinding.T ($RES_SIM_1166) (754) [FOR-] (5) ($RES_SIM_1164) (754) [----] for $i1 in 1:5 loop (754) [----] [SCAL] (1) smeeM.stator.resistor.heatPort[$i1].Q_flow - smeeM.stator.heatPortWinding[$i1].Q_flow = 0.0 ($RES_SIM_1165) (754) [----] end for; (755) [RECD] (2) smee3.stator.electroMagneticConverter.Phi = smee3.stator.electroMagneticConverter.port_p.Phi ($RES_BND_1499) (756) [SCAL] (1) smeeM.stator.electroMagneticConverter.port_n.V_m.re = smeeM.stator.core.port_p.V_m.re ($RES_SIM_1163) (757) [SCAL] (1) smeeM.stator.electroMagneticConverter.port_n.V_m.im = smeeM.stator.core.port_p.V_m.im ($RES_SIM_1162) (758) [RECD] (2) smee3.stator.Phi = smee3.stator.port_p.Phi ($RES_BND_1497) (759) [SCAL] (1) smeeM.stator.strayReluctance.port_n.V_m.re = smeeM.stator.core.port_n.V_m.re ($RES_SIM_1161) (760) [SCAL] (1) smeeM.stator.strayReluctance.port_n.V_m.re = smeeM.stator.port_n.V_m.re ($RES_SIM_1160) (761) [RECD] (2) smeeM.excitation.Phi = smeeM.excitation.port_p.Phi ($RES_BND_1495) (762) [SCAL] (1) 1.5707963267948966 * (smee3.airGap.V_mrr.re + smee3.airGap.V_msr.re) = smee3.airGap.Phi_rr.re * smee3.airGap.R_m.d ($RES_SIM_190) (763) [RECD] (2) smee3.airGap.Phi_sr = smee3.airGap.Phi_rr ($RES_SIM_191) (764) [RECD] (2) smeeM.rotorCage.electroMagneticConverter.Phi = smeeM.rotorCage.electroMagneticConverter.port_p.Phi ($RES_BND_1493) (765) [SCAL] (1) smee3.plug_sp.pin[2].v = rotorAngle3.plug_p.pin[2].v ($RES_SIM_730) (766) [RECD] (2) smeeM.airGap.port_rp.Phi = smeeM.airGap.Phi_rr ($RES_SIM_372) (767) [SCAL] (1) smee3.rotorCage.star.plug_p.pin[1].v = smee3.rotorCage.resistor.plug_n.pin[1].v ($RES_SIM_910) (768) [SCAL] (1) smee3.plug_sp.pin[2].v = terminalBox3.plug_sp.pin[2].v ($RES_SIM_731) (769) [RECD] (2) smeeM.rotorCage.Phi = smeeM.rotorCage.port_p.Phi ($RES_BND_1491) (770) [SCAL] (1) smee3.rotorCage.star.plug_p.pin[1].v = smee3.rotorCage.electroMagneticConverter.plug_n.pin[1].v ($RES_SIM_911) (771) [SCAL] (1) smee3.plug_sp.pin[1].v = rotorAngle3.plug_p.pin[1].v ($RES_SIM_732) (772) [RECD] (2) smeeM.airGap.port_sp.Phi = smeeM.airGap.Phi_ss ($RES_SIM_374) (773) [SCAL] (1) smee3.plug_sp.pin[1].v = terminalBox3.plug_sp.pin[1].v ($RES_SIM_733) (774) [SCAL] (1) smee3.rotorCage.strayReluctance.port_n.V_m.im = smee3.rotorCage.electroMagneticConverter.port_n.V_m.im ($RES_SIM_913) (775) [SCAL] (1) terminalBox3.plug_sn.pin[3].i + smee3.plug_sn.pin[3].i + rotorAngle3.plug_n.pin[3].i = 0.0 ($RES_SIM_734) (776) [RECD] (2) smee3.airGap.port_rp.Phi = smee3.airGap.Phi_rr ($RES_SIM_197) (777) [SCAL] (1) smee3.rotorCage.strayReluctance.port_n.V_m.im = smee3.rotorCage.port_n.V_m.im ($RES_SIM_914) (778) [SCAL] (1) terminalBox3.plug_sn.pin[2].i + smee3.plug_sn.pin[2].i + rotorAngle3.plug_n.pin[2].i = 0.0 ($RES_SIM_735) (779) [SCAL] (1) smee3.rotorCage.strayReluctance.port_n.V_m.re = smee3.rotorCage.electroMagneticConverter.port_n.V_m.re ($RES_SIM_915) (780) [SCAL] (1) terminalBox3.plug_sn.pin[1].i + smee3.plug_sn.pin[1].i + rotorAngle3.plug_n.pin[1].i = 0.0 ($RES_SIM_736) (781) [RECD] (2) smee3.airGap.port_sp.Phi = smee3.airGap.Phi_ss ($RES_SIM_199) (782) [SCAL] (1) smee3.rotorCage.strayReluctance.port_n.V_m.re = smee3.rotorCage.port_n.V_m.re ($RES_SIM_916) (783) [SCAL] (1) smee3.plug_sn.pin[3].v = rotorAngle3.plug_n.pin[3].v ($RES_SIM_737) (784) [SCAL] (1) smee3.rotorCage.strayReluctance.port_p.V_m.im = smee3.rotorCage.electroMagneticConverter.port_p.V_m.im ($RES_SIM_917) (785) [SCAL] (1) smee3.plug_sn.pin[3].v = terminalBox3.plug_sn.pin[3].v ($RES_SIM_738) (786) [SCAL] (1) smee3.thermalAmbient.Q_flowStatorCore - smee3.stator.core.lossPower = 0.0 ($RES_SIM_559) (787) [SCAL] (1) smee3.rotorCage.strayReluctance.port_p.V_m.im = smee3.rotorCage.port_p.V_m.im ($RES_SIM_918) (788) [SCAL] (1) smee3.plug_sn.pin[2].v = rotorAngle3.plug_n.pin[2].v ($RES_SIM_739) (789) [SCAL] (1) smee3.rotorCage.strayReluctance.port_p.V_m.re = smee3.rotorCage.electroMagneticConverter.port_p.V_m.re ($RES_SIM_919) (790) [SCAL] (1) smeeM.stator.strayReluctance.port_n.V_m.im = smeeM.stator.core.port_n.V_m.im ($RES_SIM_1159) (791) [SCAL] (1) smeeM.stator.strayReluctance.port_n.V_m.im = smeeM.stator.port_n.V_m.im ($RES_SIM_1158) (792) [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_1157) (793) [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_1156) (794) [ARRY] (5) smeeM.stator.zeroInductor.plug_n.pin.v = smeeM.stator.electroMagneticConverter.plug_p.pin.v ($RES_SIM_1154) (795) [RECD] (2) smeeM.stator.electroMagneticConverter.Phi = smeeM.stator.electroMagneticConverter.port_p.Phi ($RES_BND_1489) (796) [FOR-] (5) ($RES_SIM_1152) (796) [----] for $i1 in 1:5 loop (796) [----] [SCAL] (1) smeeM.stator.zeroInductor.plug_n.pin[$i1].i + smeeM.stator.electroMagneticConverter.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1153) (796) [----] end for; (797) [RECD] (2) smeeM.stator.Phi = smeeM.stator.port_p.Phi ($RES_BND_1487) (798) [ARRY] (4) rotorAngle3.rotatorVS2R.RotationMatrix = {{$FUN_26, -$FUN_27}, {$FUN_27, $FUN_26}} ($RES_BND_1485) (799) [SCAL] (1) smee3.excitation.reluctance.arg_Phi = Modelica.Math.atan3(smee3.excitation.reluctance.Phi.im, smee3.excitation.reluctance.Phi.re, 0.0) ($RES_BND_1483) (800) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.im - smee3.stator.electroMagneticConverter.port_p.Phi.im = 0.0 ($RES_SIM_560) (801) [ARRY] (5) smeeM.thermalAmbient.thermalCollectorStator.port_a.T = {smeeM.thermalAmbient.constTs.k for $i1 in 1:5} ($RES_SIM_381) (802) [SCAL] (1) smee3.plug_sn.pin[2].v = terminalBox3.plug_sn.pin[2].v ($RES_SIM_740) (803) [SCAL] (1) smee3.excitation.reluctance.abs_Phi = (smee3.excitation.reluctance.Phi.re ^ 2.0 + smee3.excitation.reluctance.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1482) (804) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.re - smee3.stator.electroMagneticConverter.port_p.Phi.re = 0.0 ($RES_SIM_561) (805) [SCAL] (1) smee3.rotorCage.strayReluctance.port_p.V_m.re = smee3.rotorCage.port_p.V_m.re ($RES_SIM_920) (806) [SCAL] (1) smee3.plug_sn.pin[1].v = rotorAngle3.plug_n.pin[1].v ($RES_SIM_741) (807) [SCAL] (1) smee3.excitation.reluctance.arg_V_m = Modelica.Math.atan3(smee3.excitation.reluctance.V_m.im, smee3.excitation.reluctance.V_m.re, 0.0) ($RES_BND_1481) (808) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.Phi.im - smee3.stator.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_562) (809) [FOR-] (2) ($RES_SIM_921) (809) [----] for $i1 in 1:2 loop (809) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].heatPort.Q_flow - smee3.rotorCage.resistor.heatPort[$i1].Q_flow = 0.0 ($RES_SIM_922) (809) [----] end for; (810) [SCAL] (1) smee3.plug_sn.pin[1].v = terminalBox3.plug_sn.pin[1].v ($RES_SIM_742) (811) [SCAL] (1) smee3.excitation.reluctance.abs_V_m = (smee3.excitation.reluctance.V_m.re ^ 2.0 + smee3.excitation.reluctance.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1480) (812) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.Phi.im + smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.im = 0.0 ($RES_SIM_563) (813) [FOR-] (5) ($RES_SIM_743) (813) [----] for $i1 in 1:5 loop (813) [----] [SCAL] (1) sineVoltageM.sineVoltage[$i1].n.i - sineVoltageM.plug_n.pin[$i1].i = 0.0 ($RES_SIM_744) (813) [----] end for; (814) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.im + smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.im = 0.0 ($RES_SIM_564) (815) [ARRY] (2) smee3.rotorCage.resistor.resistor.heatPort.T = smee3.rotorCage.resistor.heatPort.T ($RES_SIM_923) (816) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_n.Phi.re - smee3.stator.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_565) (817) [FOR-] (2) ($RES_SIM_924) (817) [----] for $i1 in 1:2 loop (817) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].n.i - smee3.rotorCage.resistor.plug_n.pin[$i1].i = 0.0 ($RES_SIM_925) (817) [----] end for; (818) [ARRY] (5) sineVoltageM.sineVoltage.n.v = sineVoltageM.plug_n.pin.v ($RES_SIM_745) (819) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].port_p.Phi.re + smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.re = 0.0 ($RES_SIM_566) (820) [FOR-] (5) ($RES_SIM_746) (820) [----] for $i1 in 1:5 loop (820) [----] [SCAL] (1) sineVoltageM.sineVoltage[$i1].p.i - sineVoltageM.plug_p.pin[$i1].i = 0.0 ($RES_SIM_747) (820) [----] end for; (821) [SCAL] (1) smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.re + smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.re = 0.0 ($RES_SIM_567) (822) [ARRY] (2) smee3.rotorCage.resistor.resistor.n.v = smee3.rotorCage.resistor.plug_n.pin.v ($RES_SIM_926) (823) [SCAL] (1) smee3.stator.core.port_p.Phi.im + smee3.stator.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_568) (824) [FOR-] (2) ($RES_SIM_927) (824) [----] for $i1 in 1:2 loop (824) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].p.i - smee3.rotorCage.resistor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_928) (824) [----] end for; (825) [ARRY] (5) sineVoltageM.sineVoltage.p.v = sineVoltageM.plug_p.pin.v ($RES_SIM_748) (826) [SCAL] (1) smee3.stator.core.port_p.Phi.re + smee3.stator.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_569) (827) [ARRY] (2) smee3.rotorCage.resistor.resistor.p.v = smee3.rotorCage.resistor.plug_p.pin.v ($RES_SIM_929) (828) [FOR-] (5) ($RES_SIM_10) (828) [----] for $i1 in 1:5 loop (828) [----] [SCAL] (1) sineVoltageM.sineVoltage[$i1].v = sineVoltageM.sineVoltage[$i1].p.v - sineVoltageM.sineVoltage[$i1].n.v ($RES_SIM_11) (828) [----] end for; (829) [FOR-] (5) ($RES_SIM_12) (829) [----] for $i1 in 1:5 loop (829) [----] [SCAL] (1) sineVoltageM.sineVoltage[$i1].v = sineVoltageM.sineVoltage[$i1].signalSource.y ($RES_SIM_13) (829) [----] end for; (830) [FOR-] (5) ($RES_SIM_14) (830) [----] for $i1 in 1:5 loop (830) [----] [SCAL] (1) sineVoltageM.sineVoltage[$i1].signalSource.y = sineVoltageM.sineVoltage[$i1].signalSource.offset + (if $SEV_0[$i1] then 0.0 else sineVoltageM.sineVoltage[$i1].signalSource.amplitude * $FUN_25[$i1]) ($RES_SIM_15) (830) [----] end for; (831) [FOR-] (5) ($RES_SIM_18) (831) [----] for $i1 in 1:5 loop (831) [----] [SCAL] (1) starM.plug_p.pin[$i1].v = 0.0 ($RES_SIM_19) (831) [----] end for; (832) [SCAL] (1) smee3.excitation.electroMagneticConverter.arg_Phi = Modelica.Math.atan3(smee3.excitation.electroMagneticConverter.Phi.im, smee3.excitation.electroMagneticConverter.Phi.re, 0.0) ($RES_BND_1479) (833) [FOR-] (5) ($RES_BND_1299) (833) [----] for $i1 in 1:5 loop (833) [----] [SCAL] (1) smeeM.stator.resistor.resistor[$i1].heatPort.Q_flow = -smeeM.stator.resistor.resistor[$i1].LossPower ($RES_BND_1300) (833) [----] end for; (834) [SCAL] (1) smee3.excitation.electroMagneticConverter.abs_Phi = (smee3.excitation.electroMagneticConverter.Phi.re ^ 2.0 + smee3.excitation.electroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1478) (835) [ARRY] (5) smeeM.thermalAmbient.thermalCollectorStator.port_a.T = smeeM.thermalAmbient.thermalPort.heatPortStatorWinding.T ($RES_SIM_1142) (836) [SCAL] (1) smee3.excitation.electroMagneticConverter.arg_V_m = Modelica.Math.atan3(smee3.excitation.electroMagneticConverter.V_m.im, smee3.excitation.electroMagneticConverter.V_m.re, 0.0) ($RES_BND_1477) (837) [FOR-] (5) ($RES_BND_1297) (837) [----] for $i1 in 1:5 loop (837) [----] [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_1298) (837) [----] end for; (838) [SCAL] (1) smee3.excitation.electroMagneticConverter.abs_V_m = (smee3.excitation.electroMagneticConverter.V_m.re ^ 2.0 + smee3.excitation.electroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1476) (839) [FOR-] (5) ($RES_SIM_1140) (839) [----] for $i1 in 1:5 loop (839) [----] [SCAL] (1) smeeM.thermalAmbient.thermalCollectorStator.port_a[$i1].Q_flow - smeeM.thermalAmbient.thermalPort.heatPortStatorWinding[$i1].Q_flow = 0.0 ($RES_SIM_1141) (839) [----] end for; (840) [FOR-] (5) ($RES_BND_1295) (840) [----] for $i1 in 1:5 loop (840) [----] [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_1296) (840) [----] end for; (841) [RECD] (2) smeeM.stator.strayReluctance.port_p.Phi = smeeM.stator.strayReluctance.Phi ($RES_SIM_390) (842) [SCAL] (1) smee3.excitation.arg_Phi = Modelica.Math.atan3(smee3.excitation.Phi.im, smee3.excitation.Phi.re, 0.0) ($RES_BND_1473) (843) [SCAL] (1) smee3.airGap.port_sn.Phi.im + smee3.stator.port_p.Phi.im = 0.0 ($RES_SIM_570) (844) [FOR-] (5) ($RES_BND_1293) (844) [----] for $i1 in 1:5 loop (844) [----] [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_1294) (844) [----] end for; (845) [SCAL] (1) currentRMSsensor3.ToPolar1.y[1] = currentRMSsensor3.Gain1.u ($RES_SIM_750) (846) [SCAL] (1) smee3.excitation.abs_Phi = (smee3.excitation.Phi.re ^ 2.0 + smee3.excitation.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1472) (847) [SCAL] (1) smee3.airGap.port_sn.Phi.re + smee3.stator.port_p.Phi.re = 0.0 ($RES_SIM_571) (848) [SCAL] (1) 1.5707963267948966 * smeeM.stator.strayReluctance.V_m.im = smeeM.stator.strayReluctance.R_m.q * smeeM.stator.strayReluctance.Phi.im ($RES_SIM_392) (849) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.im = smee3.rotorCage.electroMagneticConverter.port_n.V_m.im ($RES_SIM_930) (850) [ARRY] (2) currentRMSsensor3.ToSpacePhasor1.y = currentRMSsensor3.ToPolar1.u ($RES_SIM_751) (851) [SCAL] (1) smee3.excitation.arg_V_m = Modelica.Math.atan3(smee3.excitation.V_m.im, smee3.excitation.V_m.re, 0.0) ($RES_BND_1471) (852) [SCAL] (1) smee3.inertiaStator.flange_a.tau + smee3.fixed.flange.tau + smee3.tauElectrical = 0.0 ($RES_SIM_572) (853) [SCAL] (1) 1.5707963267948966 * smeeM.stator.strayReluctance.V_m.re = smeeM.stator.strayReluctance.R_m.d * smeeM.stator.strayReluctance.Phi.re ($RES_SIM_393) (854) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.re = smee3.rotorCage.electroMagneticConverter.port_n.V_m.re ($RES_SIM_931) (855) [FOR-] (5) ($RES_BND_1291) (855) [----] for $i1 in 1:5 loop (855) [----] [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_1292) (855) [----] end for; (856) [ARRY] (3) currentRMSsensor3.CurrentSensor1.i = currentRMSsensor3.ToSpacePhasor1.u ($RES_SIM_752) (857) [SCAL] (1) smee3.excitation.abs_V_m = (smee3.excitation.V_m.re ^ 2.0 + smee3.excitation.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1470) (858) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.im = smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.im ($RES_SIM_932) (859) [SCAL] (1) smeeM.stator.electroMagneticConverter.arg_Phi = Modelica.Math.atan3(smeeM.stator.electroMagneticConverter.Phi.im, smeeM.stator.electroMagneticConverter.Phi.re, 0.0) ($RES_BND_1290) (860) [FOR-] (3) ($RES_SIM_753) (860) [----] for $i1 in 1:3 loop (860) [----] [SCAL] (1) currentRMSsensor3.CurrentSensor1.plug_n.pin[$i1].i - currentRMSsensor3.plug_n.pin[$i1].i = 0.0 ($RES_SIM_754) (860) [----] end for; (861) [SCAL] (1) smeeM.thermalAmbient.thermalPort.heatPortBrush.Q_flow + smeeM.brush.heatPort.Q_flow = 0.0 ($RES_SIM_574) (862) [RECD] (2) smeeM.stator.core.port_p.Phi = smeeM.stator.core.Phi ($RES_SIM_395) (863) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.re = smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.re ($RES_SIM_933) (864) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.im = smee3.rotorCage.electroMagneticConverter.port_p.V_m.im ($RES_SIM_934) (865) [ARRY] (3) currentRMSsensor3.CurrentSensor1.plug_n.pin.v = currentRMSsensor3.plug_n.pin.v ($RES_SIM_755) (866) [SCAL] (1) smeeM.thermalAmbient.Q_flowExcitation - smeeM.excitation.resistor.LossPower = 0.0 ($RES_SIM_576) (867) [SCAL] (1) smeeM.stator.core.V_m.im = 0.0 ($RES_SIM_397) (868) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.re = smee3.rotorCage.electroMagneticConverter.port_p.V_m.re ($RES_SIM_935) (869) [FOR-] (3) ($RES_SIM_756) (869) [----] for $i1 in 1:3 loop (869) [----] [SCAL] (1) currentRMSsensor3.CurrentSensor1.plug_p.pin[$i1].i - currentRMSsensor3.plug_p.pin[$i1].i = 0.0 ($RES_SIM_757) (869) [----] end for; (870) [SCAL] (1) smeeM.stator.core.V_m.re = 0.0 ($RES_SIM_398) (871) [FOR-] (2) ($RES_SIM_936) (871) [----] for $i1 in 1:2 loop (871) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i - smee3.rotorCage.electroMagneticConverter.plug_n.pin[$i1].i = 0.0 ($RES_SIM_937) (871) [----] end for; (872) [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_399) (873) [ARRY] (3) currentRMSsensor3.plug_p.pin.v = currentRMSsensor3.CurrentSensor1.plug_p.pin.v ($RES_SIM_758) (874) [SCAL] (1) smeeM.groundR.port_p.Phi.im + smeeM.excitation.port_p.Phi.im + smeeM.airGap.port_rn.Phi.im = 0.0 ($RES_SIM_579) (875) [ARRY] (2) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v = smee3.rotorCage.electroMagneticConverter.plug_n.pin.v ($RES_SIM_938) (876) [ARRY] (3) currentRMSsensor3.CurrentSensor1.currentSensor.i = currentRMSsensor3.CurrentSensor1.i ($RES_SIM_759) (877) [FOR-] (2) ($RES_SIM_939) (877) [----] for $i1 in 1:2 loop (877) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i - smee3.rotorCage.electroMagneticConverter.plug_p.pin[$i1].i = 0.0 ($RES_SIM_940) (877) [----] end for; (878) [SCAL] (1) feedback.y = feedback.u1 - gain.y ($RES_SIM_20) (879) [SCAL] (1) gain.y = gain.k * gain.u ($RES_SIM_21) (880) [SCAL] (1) currentRMSsensor3.ToPolar1.y[2] = if noEvent($SEV_1) then 0.0 else $FUN_23 ($RES_SIM_22) (881) [SCAL] (1) currentRMSsensor3.ToPolar1.y[1] = $FUN_22 ($RES_SIM_23) (882) [ARRY] (2) currentRMSsensor3.ToSpacePhasor1.y = currentRMSsensor3.ToSpacePhasor1.TransformationMatrix * currentRMSsensor3.ToSpacePhasor1.u ($RES_SIM_24) (883) [SCAL] (1) feedback.u1 = currentRMSsensor3.Gain1.k * currentRMSsensor3.Gain1.u ($RES_SIM_26) (884) [FOR-] (3) ($RES_SIM_27) (884) [----] for $i1 in 1:3 loop (884) [----] [SCAL] (1) currentRMSsensor3.CurrentSensor1.currentSensor[$i1].n.i = -currentRMSsensor3.CurrentSensor1.currentSensor[$i1].i ($RES_SIM_28) (884) [----] end for; (885) [FOR-] (3) ($RES_SIM_29) (885) [----] for $i1 in 1:3 loop (885) [----] [SCAL] (1) currentRMSsensor3.CurrentSensor1.currentSensor[$i1].p.i = currentRMSsensor3.CurrentSensor1.currentSensor[$i1].i ($RES_SIM_30) (885) [----] end for; (886) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.plug_p.pin.v = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v ($RES_SIM_1137) (887) [FOR-] (2) ($RES_SIM_1135) (887) [----] for $i1 in 1:2 loop (887) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_p.i - smeeM.rotorCage.electroMagneticConverter.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1136) (887) [----] end for; (888) [ARRY] (2) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_n.v = smeeM.rotorCage.electroMagneticConverter.plug_n.pin.v ($RES_SIM_1134) (889) [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_1289) (890) [SCAL] (1) smee3.excitation.v = smee3.brush.n.v ($RES_BND_1468) (891) [FOR-] (2) ($RES_SIM_1132) (891) [----] for $i1 in 1:2 loop (891) [----] [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].pin_n.i - smeeM.rotorCage.electroMagneticConverter.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1133) (891) [----] end for; (892) [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_1288) (893) [SCAL] (1) smee3.rotorCage.strayReluctance.arg_Phi = Modelica.Math.atan3(smee3.rotorCage.strayReluctance.Phi.im, smee3.rotorCage.strayReluctance.Phi.re, 0.0) ($RES_BND_1467) (894) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.re = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.re ($RES_SIM_1131) (895) [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_1287) (896) [SCAL] (1) smee3.rotorCage.strayReluctance.abs_Phi = (smee3.rotorCage.strayReluctance.Phi.re ^ 2.0 + smee3.rotorCage.strayReluctance.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1466) (897) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.V_m.im = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.im ($RES_SIM_1130) (898) [ARRY] (5) smeeM.stator.electroMagneticConverter.i = smeeM.stator.electroMagneticConverter.plug_p.pin.i ($RES_BND_1286) (899) [SCAL] (1) smee3.rotorCage.strayReluctance.arg_V_m = Modelica.Math.atan3(smee3.rotorCage.strayReluctance.V_m.im, smee3.rotorCage.strayReluctance.V_m.re, 0.0) ($RES_BND_1465) (900) [ARRY] (5) smeeM.stator.electroMagneticConverter.v = smeeM.stator.electroMagneticConverter.plug_p.pin.v - smeeM.stator.electroMagneticConverter.plug_n.pin.v ($RES_BND_1285) (901) [SCAL] (1) smee3.rotorCage.strayReluctance.abs_V_m = (smee3.rotorCage.strayReluctance.V_m.re ^ 2.0 + smee3.rotorCage.strayReluctance.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1464) (902) [SCAL] (1) smeeM.stator.arg_Phi = Modelica.Math.atan3(smeeM.stator.Phi.im, smeeM.stator.Phi.re, 0.0) ($RES_BND_1284) (903) [SCAL] (1) smeeM.groundR.port_p.Phi.re + smeeM.excitation.port_p.Phi.re + smeeM.airGap.port_rn.Phi.re = 0.0 ($RES_SIM_580) (904) [SCAL] (1) smeeM.stator.abs_Phi = (smeeM.stator.Phi.re ^ 2.0 + smeeM.stator.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1283) (905) [FOR-] (3) ($RES_SIM_760) (905) [----] for $i1 in 1:3 loop (905) [----] [SCAL] (1) currentRMSsensor3.CurrentSensor1.currentSensor[$i1].n.i - currentRMSsensor3.CurrentSensor1.plug_n.pin[$i1].i = 0.0 ($RES_SIM_761) (905) [----] end for; (906) [FOR-] (2) ($RES_BND_1462) (906) [----] for $i1 in 1:2 loop (906) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].heatPort.T = smee3.rotorCage.resistor.resistor[$i1].T_heatPort ($RES_BND_1463) (906) [----] end for; (907) [SCAL] (1) smeeM.stator.arg_V_m = Modelica.Math.atan3(smeeM.stator.V_m.im, smeeM.stator.V_m.re, 0.0) ($RES_BND_1282) (908) [SCAL] (1) smeeM.thermalAmbient.Q_flowRotorWinding + smeeM.rotorCage.heatPortWinding.Q_flow = 0.0 ($RES_SIM_582) (909) [ARRY] (2) smee3.rotorCage.electroMagneticConverter.plug_p.pin.v = smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.pin_p.v ($RES_SIM_941) (910) [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_1281) (911) [ARRY] (3) currentRMSsensor3.CurrentSensor1.currentSensor.n.v = currentRMSsensor3.CurrentSensor1.plug_n.pin.v ($RES_SIM_762) (912) [FOR-] (2) ($RES_BND_1460) (912) [----] for $i1 in 1:2 loop (912) [----] [SCAL] (1) smee3.rotorCage.resistor.resistor[$i1].heatPort.Q_flow = -smee3.rotorCage.resistor.resistor[$i1].LossPower ($RES_BND_1461) (912) [----] end for; (913) [ARRY] (5) smeeM.stator.i = smeeM.stator.plug_p.pin.i ($RES_BND_1280) (914) [FOR-] (3) ($RES_SIM_763) (914) [----] for $i1 in 1:3 loop (914) [----] [SCAL] (1) currentRMSsensor3.CurrentSensor1.currentSensor[$i1].p.i - currentRMSsensor3.CurrentSensor1.plug_p.pin[$i1].i = 0.0 ($RES_SIM_764) (914) [----] end for; (915) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.im - smeeM.rotorCage.electroMagneticConverter.port_p.Phi.im = 0.0 ($RES_SIM_584) (916) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_p.Phi.re - smeeM.rotorCage.electroMagneticConverter.port_p.Phi.re = 0.0 ($RES_SIM_585) (917) [FOR-] (3) ($RES_SIM_944) (917) [----] for $i1 in 1:3 loop (917) [----] [SCAL] (1) smee3.thermalAmbient.thermalCollectorStator.port_a[$i1].Q_flow - smee3.thermalAmbient.thermalPort.heatPortStatorWinding[$i1].Q_flow = 0.0 ($RES_SIM_945) (917) [----] end for; (918) [ARRY] (3) currentRMSsensor3.CurrentSensor1.plug_p.pin.v = currentRMSsensor3.CurrentSensor1.currentSensor.p.v ($RES_SIM_765) (919) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.im - smeeM.rotorCage.electroMagneticConverter.port_n.Phi.im = 0.0 ($RES_SIM_586) (920) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.im + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.im = 0.0 ($RES_SIM_587) (921) [ARRY] (3) smee3.thermalAmbient.thermalCollectorStator.port_a.T = smee3.thermalAmbient.thermalPort.heatPortStatorWinding.T ($RES_SIM_946) (922) [ARRY] (5) currentRMSsensorM.currentSensor.i = currentRMSsensorM.quasiRMS.u ($RES_SIM_767) (923) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.Phi.re - smeeM.rotorCage.electroMagneticConverter.port_n.Phi.re = 0.0 ($RES_SIM_588) (924) [FOR-] (5) ($RES_SIM_768) (924) [----] for $i1 in 1:5 loop (924) [----] [SCAL] (1) currentRMSsensorM.currentSensor.plug_n.pin[$i1].i - currentRMSsensorM.plug_n.pin[$i1].i = 0.0 ($RES_SIM_769) (924) [----] end for; (925) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.Phi.re + smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.Phi.re = 0.0 ($RES_SIM_589) (926) [FOR-] (3) ($RES_SIM_31) (926) [----] for $i1 in 1:3 loop (926) [----] [SCAL] (1) currentRMSsensor3.CurrentSensor1.currentSensor[$i1].p.v = currentRMSsensor3.CurrentSensor1.currentSensor[$i1].n.v ($RES_SIM_32) (926) [----] end for; (927) [ARRY] (5) currentRMSsensorM.i = currentRMSsensorM.plug_p.pin.i ($RES_SIM_33) (928) [ARRY] (5) currentRMSsensorM.v = currentRMSsensorM.plug_p.pin.v - currentRMSsensorM.plug_n.pin.v ($RES_SIM_34) (929) [SCAL] (1) gain.u = sqrt(sum(0.2 .* currentRMSsensorM.quasiRMS.u .^ 2.0)) ($RES_SIM_35) (930) [FOR-] (5) ($RES_SIM_36) (930) [----] for $i1 in 1:5 loop (930) [----] [SCAL] (1) currentRMSsensorM.currentSensor.currentSensor[$i1].n.i = -currentRMSsensorM.currentSensor.currentSensor[$i1].i ($RES_SIM_37) (930) [----] end for; (931) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.re = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.re ($RES_SIM_1129) (932) [FOR-] (5) ($RES_SIM_38) (932) [----] for $i1 in 1:5 loop (932) [----] [SCAL] (1) currentRMSsensorM.currentSensor.currentSensor[$i1].p.i = currentRMSsensorM.currentSensor.currentSensor[$i1].i ($RES_SIM_39) (932) [----] end for; (933) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].port_n.V_m.im = smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_p.V_m.im ($RES_SIM_1128) (934) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.re = smeeM.rotorCage.electroMagneticConverter.port_n.V_m.re ($RES_SIM_1127) (935) [SCAL] (1) smeeM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].port_n.V_m.im = smeeM.rotorCage.electroMagneticConverter.port_n.V_m.im ($RES_SIM_1126) (936) [ARRY] (2) smeeM.rotorCage.resistor.resistor.p.v = smeeM.rotorCage.resistor.plug_p.pin.v ($RES_SIM_1125) (937) [FOR-] (2) ($RES_SIM_1123) (937) [----] for $i1 in 1:2 loop (937) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].p.i - smeeM.rotorCage.resistor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_1124) (937) [----] end for; (938) [ARRY] (5) smeeM.stator.v = smeeM.stator.plug_p.pin.v - smeeM.stator.plug_n.pin.v ($RES_BND_1279) (939) [FOR-] (2) ($RES_BND_1458) (939) [----] for $i1 in 1:2 loop (939) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].abs_V_m = (smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re ^ 2.0 + smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1459) (939) [----] end for; (940) [ARRY] (2) smeeM.rotorCage.resistor.resistor.n.v = smeeM.rotorCage.resistor.plug_n.pin.v ($RES_SIM_1122) (941) [ARRY] (5) smeeM.is = smeeM.plug_sp.pin.i ($RES_BND_1278) (942) [ARRY] (5) smeeM.vs = smeeM.plug_sp.pin.v - smeeM.plug_sn.pin.v ($RES_BND_1277) (943) [FOR-] (2) ($RES_BND_1456) (943) [----] for $i1 in 1:2 loop (943) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].arg_V_m = Modelica.Math.atan3(smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.im, smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.V_m.re, 0.0) ($RES_BND_1457) (943) [----] end for; (944) [FOR-] (2) ($RES_SIM_1120) (944) [----] for $i1 in 1:2 loop (944) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].n.i - smeeM.rotorCage.resistor.plug_n.pin[$i1].i = 0.0 ($RES_SIM_1121) (944) [----] end for; (945) [SCAL] (1) smeeM.powerBalance.powerStator = sum(smeeM.vs * smeeM.is) ($RES_BND_1276) (946) [SCAL] (1) smeeM.powerBalance.powerMechanical = smeeM.wMechanical * smeeM.tauShaft ($RES_BND_1275) (947) [FOR-] (2) ($RES_BND_1454) (947) [----] for $i1 in 1:2 loop (947) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].abs_Phi = (smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re ^ 2.0 + smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1455) (947) [----] end for; (948) [SCAL] (1) smeeM.powerBalance.powerInertiaStator = smeeM.inertiaStator.a * smeeM.inertiaStator.J * smeeM.inertiaStator.w ($RES_BND_1274) (949) [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_590) (950) [SCAL] (1) smeeM.powerBalance.powerInertiaRotor = smeeM.inertiaRotor.a * smeeM.inertiaRotor.J * smeeM.inertiaRotor.w ($RES_BND_1273) (951) [ARRY] (5) currentRMSsensorM.currentSensor.plug_n.pin.v = currentRMSsensorM.plug_n.pin.v ($RES_SIM_770) (952) [FOR-] (2) ($RES_BND_1452) (952) [----] for $i1 in 1:2 loop (952) [----] [SCAL] (1) smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$i1].arg_Phi = Modelica.Math.atan3(smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.im, smee3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.Phi.re, 0.0) ($RES_BND_1453) (952) [----] end for; (953) [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_591) (954) [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_1272) (955) [FOR-] (5) ($RES_SIM_771) (955) [----] for $i1 in 1:5 loop (955) [----] [SCAL] (1) currentRMSsensorM.currentSensor.plug_p.pin[$i1].i - currentRMSsensorM.plug_p.pin[$i1].i = 0.0 ($RES_SIM_772) (955) [----] end for; (956) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.arg_Phi = Modelica.Math.atan3(smee3.rotorCage.electroMagneticConverter.Phi.im, smee3.rotorCage.electroMagneticConverter.Phi.re, 0.0) ($RES_BND_1451) (957) [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_592) (958) [SCAL] (1) smeeM.powerBalance.lossPowerStatorWinding = $FUN_33 ($RES_BND_1271) (959) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.abs_Phi = (smee3.rotorCage.electroMagneticConverter.Phi.re ^ 2.0 + smee3.rotorCage.electroMagneticConverter.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1450) (960) [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_593) (961) [SCAL] (1) smeeM.powerBalance.lossPowerStatorCore = smeeM.stator.core.lossPower ($RES_BND_1270) (962) [ARRY] (5) currentRMSsensorM.plug_p.pin.v = currentRMSsensorM.currentSensor.plug_p.pin.v ($RES_SIM_773) (963) [SCAL] (1) smeeM.excitation.port_n.Phi.im + smeeM.rotorCage.port_p.Phi.im = 0.0 ($RES_SIM_594) (964) [ARRY] (5) currentRMSsensorM.currentSensor.currentSensor.i = currentRMSsensorM.currentSensor.i ($RES_SIM_774) (965) [SCAL] (1) smeeM.excitation.port_n.Phi.re + smeeM.rotorCage.port_p.Phi.re = 0.0 ($RES_SIM_595) (966) [FOR-] (5) ($RES_SIM_775) (966) [----] for $i1 in 1:5 loop (966) [----] [SCAL] (1) currentRMSsensorM.currentSensor.currentSensor[$i1].n.i - currentRMSsensorM.currentSensor.plug_n.pin[$i1].i = 0.0 ($RES_SIM_776) (966) [----] end for; (967) [FOR-] (3) ($RES_SIM_956) (967) [----] for $i1 in 1:3 loop (967) [----] [SCAL] (1) smee3.stator.zeroInductor.plug_n.pin[$i1].i + smee3.stator.electroMagneticConverter.plug_p.pin[$i1].i = 0.0 ($RES_SIM_957) (967) [----] end for; (968) [ARRY] (5) currentRMSsensorM.currentSensor.currentSensor.n.v = currentRMSsensorM.currentSensor.plug_n.pin.v ($RES_SIM_777) (969) [FOR-] (5) ($RES_SIM_778) (969) [----] for $i1 in 1:5 loop (969) [----] [SCAL] (1) currentRMSsensorM.currentSensor.currentSensor[$i1].p.i - currentRMSsensorM.currentSensor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_779) (969) [----] end for; (970) [ARRY] (3) smee3.stator.zeroInductor.plug_n.pin.v = smee3.stator.electroMagneticConverter.plug_p.pin.v ($RES_SIM_958) (971) [FOR-] (5) ($RES_SIM_40) (971) [----] for $i1 in 1:5 loop (971) [----] [SCAL] (1) currentRMSsensorM.currentSensor.currentSensor[$i1].p.v = currentRMSsensorM.currentSensor.currentSensor[$i1].n.v ($RES_SIM_41) (971) [----] end for; (972) [SCAL] (1) constantSpeed3.phi = constantSpeed3.flange.phi ($RES_SIM_43) (973) [SCAL] (1) constantSpeed3.w_fixed = $DER.constantSpeed3.phi ($RES_SIM_45) (974) [SCAL] (1) constantSpeedM.phi = constantSpeedM.flange.phi ($RES_SIM_47) (975) [ARRY] (2) smeeM.rotorCage.resistor.resistor.heatPort.T = smeeM.rotorCage.resistor.heatPort.T ($RES_SIM_1119) (976) [SCAL] (1) constantSpeedM.w_fixed = $DER.constantSpeedM.phi ($RES_SIM_49) (977) [FOR-] (2) ($RES_SIM_1117) (977) [----] for $i1 in 1:2 loop (977) [----] [SCAL] (1) smeeM.rotorCage.resistor.resistor[$i1].heatPort.Q_flow - smeeM.rotorCage.resistor.heatPort[$i1].Q_flow = 0.0 ($RES_SIM_1118) (977) [----] end for; (978) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.V_m.re = smeeM.rotorCage.port_p.V_m.re ($RES_SIM_1116) (979) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.V_m.re = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.re ($RES_SIM_1115) (980) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.arg_V_m = Modelica.Math.atan3(smee3.rotorCage.electroMagneticConverter.V_m.im, smee3.rotorCage.electroMagneticConverter.V_m.re, 0.0) ($RES_BND_1449) (981) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.V_m.im = smeeM.rotorCage.port_p.V_m.im ($RES_SIM_1114) (982) [SCAL] (1) smeeM.powerBalance.lossPowerRotorCore = 0.0 ($RES_BND_1269) (983) [SCAL] (1) smee3.rotorCage.electroMagneticConverter.abs_V_m = (smee3.rotorCage.electroMagneticConverter.V_m.re ^ 2.0 + smee3.rotorCage.electroMagneticConverter.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1448) (984) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_p.V_m.im = smeeM.rotorCage.electroMagneticConverter.port_p.V_m.im ($RES_SIM_1113) (985) [SCAL] (1) smeeM.powerBalance.lossPowerStrayLoad = -smeeM.strayLoad.heatPort.Q_flow ($RES_BND_1268) (986) [ARRY] (2) smee3.rotorCage.electroMagneticConverter.i = smee3.rotorCage.electroMagneticConverter.plug_p.pin.i ($RES_BND_1447) (987) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_n.V_m.re = smeeM.rotorCage.port_n.V_m.re ($RES_SIM_1112) (988) [SCAL] (1) smeeM.powerBalance.lossPowerFriction = -smeeM.friction.heatPort.Q_flow ($RES_BND_1267) (989) [ARRY] (2) smee3.rotorCage.electroMagneticConverter.v = smee3.rotorCage.electroMagneticConverter.plug_p.pin.v - smee3.rotorCage.electroMagneticConverter.plug_n.pin.v ($RES_BND_1446) (990) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_n.V_m.re = smeeM.rotorCage.electroMagneticConverter.port_n.V_m.re ($RES_SIM_1111) (991) [SCAL] (1) smeeM.powerBalance.lossPowerRotorWinding = smeeM.damperCageLossPower ($RES_BND_1266) (992) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_n.V_m.im = smeeM.rotorCage.port_n.V_m.im ($RES_SIM_1110) (993) [SCAL] (1) smeeM.powerBalance.powerExcitation = smeeM.ve * smeeM.ie ($RES_BND_1265) (994) [SCAL] (1) smeeM.powerBalance.lossPowerExcitation = smeeM.excitation.resistor.LossPower ($RES_BND_1264) (995) [ARRY] (2) smee3.rotorCage.i = smee3.rotorCage.electroMagneticConverter.i ($RES_BND_1443) (996) [SCAL] (1) smeeM.powerBalance.lossPowerBrush = -smeeM.brush.heatPort.Q_flow ($RES_BND_1263) (997) [ARRY] (5) currentRMSsensorM.currentSensor.plug_p.pin.v = currentRMSsensorM.currentSensor.currentSensor.p.v ($RES_SIM_780) (998) [SCAL] (1) smee3.rotorCage.arg_Phi = Modelica.Math.atan3(smee3.rotorCage.Phi.im, smee3.rotorCage.Phi.re, 0.0) ($RES_BND_1442) (999) [SCAL] (1) (smee3.stator.core.port_n.Phi.im + smee3.stator.strayReluctance.port_n.Phi.im) - smee3.stator.port_n.Phi.im = 0.0 ($RES_SIM_960) (1000) [SCAL] (1) smee3.rotorCage.abs_Phi = (smee3.rotorCage.Phi.re ^ 2.0 + smee3.rotorCage.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1441) (1001) [SCAL] (1) (smee3.stator.core.port_n.Phi.re + smee3.stator.strayReluctance.port_n.Phi.re) - smee3.stator.port_n.Phi.re = 0.0 ($RES_SIM_961) (1002) [SCAL] (1) smee3.rotorCage.arg_V_m = Modelica.Math.atan3(smee3.rotorCage.V_m.im, smee3.rotorCage.V_m.re, 0.0) ($RES_BND_1440) (1003) [SCAL] (1) smee3.stator.strayReluctance.port_n.V_m.im = smee3.stator.port_n.V_m.im ($RES_SIM_962) (1004) [SCAL] (1) smeeM.wMechanical = $DER.smeeM.phiMechanical ($RES_BND_1260) (1005) [SCAL] (1) smee3.stator.strayReluctance.port_n.V_m.im = smee3.stator.core.port_n.V_m.im ($RES_SIM_963) (1006) [SCAL] (1) smee3.stator.strayReluctance.port_n.V_m.re = smee3.stator.port_n.V_m.re ($RES_SIM_964) (1007) [SCAL] (1) smee3.stator.strayReluctance.port_n.V_m.re = smee3.stator.core.port_n.V_m.re ($RES_SIM_965) (1008) [SCAL] (1) smee3.stator.electroMagneticConverter.port_n.V_m.im = smee3.stator.core.port_p.V_m.im ($RES_SIM_966) (1009) [SCAL] (1) smee3.stator.electroMagneticConverter.port_n.V_m.re = smee3.stator.core.port_p.V_m.re ($RES_SIM_967) (1010) [FOR-] (3) ($RES_SIM_968) (1010) [----] for $i1 in 1:3 loop (1010) [----] [SCAL] (1) smee3.stator.resistor.heatPort[$i1].Q_flow - smee3.stator.heatPortWinding[$i1].Q_flow = 0.0 ($RES_SIM_969) (1010) [----] end for; (1011) [SCAL] (1) mechanicalPowerSensor3.relSpeedSensor.w_rel = $DER.mechanicalPowerSensor3.relSpeedSensor.phi_rel ($RES_SIM_53) (1012) [SCAL] (1) mechanicalPowerSensor3.relSpeedSensor.phi_rel = constantSpeed3.flange.phi - mechanicalPowerSensor3.fixed.phi0 ($RES_SIM_54) (1013) [SCAL] (1) mechanicalPowerSensor3.product.y = mechanicalPowerSensor3.relSpeedSensor.w_rel * mechanicalPowerSensor3.torqueSensor.flange_a.tau ($RES_SIM_55) (1014) [SCAL] (1) smeeM.rotorCage.strayReluctance.port_n.V_m.im = smeeM.rotorCage.electroMagneticConverter.port_n.V_m.im ($RES_SIM_1109) (1015) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[1].v = smeeM.rotorCage.electroMagneticConverter.plug_n.pin[1].v ($RES_SIM_1107) (1016) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[1].v = smeeM.rotorCage.resistor.plug_n.pin[1].v ($RES_SIM_1106) (1017) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[2].v = smeeM.rotorCage.electroMagneticConverter.plug_n.pin[2].v ($RES_SIM_1105) (1018) [SCAL] (1) smee3.rotorCage.abs_V_m = (smee3.rotorCage.V_m.re ^ 2.0 + smee3.rotorCage.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1439) (1019) [SCAL] (1) smeeM.rotorCage.star.plug_p.pin[2].v = smeeM.rotorCage.resistor.plug_n.pin[2].v ($RES_SIM_1104) (1020) [SCAL] (1) smeeM.phiMechanical = constantSpeedM.flange.phi - smeeM.fixed.phi0 ($RES_BND_1259) (1021) [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_1103) (1022) [SCAL] (1) smee3.ve = rampCurrent3.n.v ($RES_BND_1437) (1023) [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_1102) (1024) [SCAL] (1) smee3.strayLoad.iRMS = sqrt(sum(0.3333333333333333 .* smee3.strayLoad.i .^ 2.0)) ($RES_BND_1435) (1025) [ARRY] (2) smeeM.rotorCage.resistor.heatPort.T = smeeM.rotorCage.thermalCollector.port_a.T ($RES_SIM_1100) (1026) [SCAL] (1) smee3.thermalAmbient.Q_flowTotal = smee3.thermalAmbient.Q_flowStrayLoad + smee3.thermalAmbient.Q_flowStatorCore + smee3.thermalAmbient.Q_flowRotorWinding + smee3.thermalAmbient.Q_flowStatorWinding + smee3.thermalAmbient.Q_flowExcitation + smee3.thermalAmbient.Q_flowFriction ($RES_BND_1433) (1027) [ARRY] (3) smee3.stator.resistor.heatPort.T = smee3.stator.heatPortWinding.T ($RES_SIM_970) (1028) [SCAL] (1) (smee3.stator.electroMagneticConverter.port_p.Phi.im + smee3.stator.strayReluctance.port_p.Phi.im) - smee3.stator.port_p.Phi.im = 0.0 ($RES_SIM_971) (1029) [SCAL] (1) (smee3.stator.electroMagneticConverter.port_p.Phi.re + smee3.stator.strayReluctance.port_p.Phi.re) - smee3.stator.port_p.Phi.re = 0.0 ($RES_SIM_972) (1030) [SCAL] (1) smee3.stator.strayReluctance.port_p.V_m.im = smee3.stator.port_p.V_m.im ($RES_SIM_973) (1031) [SCAL] (1) smee3.stator.strayReluctance.port_p.V_m.im = smee3.stator.electroMagneticConverter.port_p.V_m.im ($RES_SIM_974) (1032) [SCAL] (1) smee3.stator.strayReluctance.port_p.V_m.re = smee3.stator.port_p.V_m.re ($RES_SIM_975) (1033) [ARRY] (2) rotorAngle3.ToPolarVSR.y = rotorAngle3.lessThreshold.u ($RES_SIM_796) (1034) [SCAL] (1) smee3.stator.strayReluctance.port_p.V_m.re = smee3.stator.electroMagneticConverter.port_p.V_m.re ($RES_SIM_976) (1035) [FOR-] (3) ($RES_SIM_977) (1035) [----] for $i1 in 1:3 loop (1035) [----] [SCAL] (1) smee3.stator.electroMagneticConverter.plug_n.pin[$i1].i - smee3.stator.plug_n.pin[$i1].i = 0.0 ($RES_SIM_978) (1035) [----] end for; (1036) [ARRY] (2) rotorAngle3.rotatorVS2R.y = rotorAngle3.ToPolarVSR.u ($RES_SIM_799) (1037) [ARRY] (3) smee3.stator.electroMagneticConverter.plug_n.pin.v = smee3.stator.plug_n.pin.v ($RES_SIM_979) (1038) [SCAL] (1) mechanicalPowerSensorM.relSpeedSensor.w_rel = $DER.mechanicalPowerSensorM.relSpeedSensor.phi_rel ($RES_SIM_62) (1039) [SCAL] (1) mechanicalPowerSensorM.relSpeedSensor.phi_rel = constantSpeedM.flange.phi - mechanicalPowerSensorM.fixed.phi0 ($RES_SIM_63) (1040) [SCAL] (1) mechanicalPowerSensorM.product.y = mechanicalPowerSensorM.relSpeedSensor.w_rel * mechanicalPowerSensorM.torqueSensor.flange_a.tau ($RES_SIM_64) (1041) [SCAL] (1) rotorAngle3.lessThreshold.y = if noEvent($SEV_2) then 0.0 else rotorAngle3.lessThreshold.u[2] ($RES_SIM_68) (1042) [SCAL] (1) smee3.stator.strayReluctance.arg_Phi = Modelica.Math.atan3(smee3.stator.strayReluctance.Phi.im, smee3.stator.strayReluctance.Phi.re, 0.0) ($RES_BND_1425) (1043) [SCAL] (1) smee3.stator.strayReluctance.abs_Phi = (smee3.stator.strayReluctance.Phi.re ^ 2.0 + smee3.stator.strayReluctance.Phi.im ^ 2.0) ^ 0.5 ($RES_BND_1424) (1044) [SCAL] (1) smee3.stator.strayReluctance.arg_V_m = Modelica.Math.atan3(smee3.stator.strayReluctance.V_m.im, smee3.stator.strayReluctance.V_m.re, 0.0) ($RES_BND_1423) (1045) [SCAL] (1) smee3.stator.strayReluctance.abs_V_m = (smee3.stator.strayReluctance.V_m.re ^ 2.0 + smee3.stator.strayReluctance.V_m.im ^ 2.0) ^ 0.5 ($RES_BND_1422) (1046) [FOR-] (3) ($RES_SIM_980) (1046) [----] for $i1 in 1:3 loop (1046) [----] [SCAL] (1) smee3.stator.resistor.plug_n.pin[$i1].i + smee3.stator.zeroInductor.plug_p.pin[$i1].i = 0.0 ($RES_SIM_981) (1046) [----] end for; (1047) [ARRY] (3) smee3.stator.resistor.plug_n.pin.v = smee3.stator.zeroInductor.plug_p.pin.v ($RES_SIM_982) (1048) [FOR-] (3) ($RES_SIM_983) (1048) [----] for $i1 in 1:3 loop (1048) [----] [SCAL] (1) smee3.stator.resistor.plug_p.pin[$i1].i - smee3.stator.plug_p.pin[$i1].i = 0.0 ($RES_SIM_984) (1048) [----] end for; (1049) [ARRY] (3) smee3.stator.plug_p.pin.v = smee3.stator.resistor.plug_p.pin.v ($RES_SIM_985) (1050) [FOR-] (3) ($RES_SIM_986) (1050) [----] for $i1 in 1:3 loop (1050) [----] [SCAL] (1) smee3.stator.resistor.resistor[$i1].heatPort.Q_flow - smee3.stator.resistor.heatPort[$i1].Q_flow = 0.0 ($RES_SIM_987) (1050) [----] end for; (1051) [ARRY] (3) smee3.stator.resistor.resistor.heatPort.T = smee3.stator.resistor.heatPort.T ($RES_SIM_988)