- Timestamp:
- 2014-03-25T16:46:23+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/testsuite/flattening/libraries/msl22/SMR_Inverter.mos
r18496 r19749 89 89 // Real SMR1.spacePhasorS.plug_n.pin[3].i(quantity = \"ElectricCurrent\", unit = \"A\") \"Current flowing into the pin\"; 90 90 // protected parameter Real SMR1.spacePhasorS.TransformationMatrix[1,1] = 0.6666666666666666; 91 // protected parameter Real SMR1.spacePhasorS.TransformationMatrix[1,2] = -0.3333333333333331 5;91 // protected parameter Real SMR1.spacePhasorS.TransformationMatrix[1,2] = -0.3333333333333331; 92 92 // protected parameter Real SMR1.spacePhasorS.TransformationMatrix[1,3] = -0.3333333333333336; 93 93 // protected parameter Real SMR1.spacePhasorS.TransformationMatrix[2,1] = 0.0; … … 311 311 // input Real CurrentRMSsensor1.ToSpacePhasor1.u[3] \"Connector of Real input signals\"; 312 312 // protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[1,1] = 0.6666666666666666; 313 // protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[1,2] = -0.3333333333333331 5;313 // protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[1,2] = -0.3333333333333331; 314 314 // protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[1,3] = -0.3333333333333336; 315 315 // protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[2,1] = 0.0; … … 390 390 // input Real RotorAngle1.ToSpacePhasorVS.u[3] \"Connector of Real input signals\"; 391 391 // protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[1,1] = 0.6666666666666666; 392 // protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[1,2] = -0.3333333333333331 5;392 // protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[1,2] = -0.3333333333333331; 393 393 // protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[1,3] = -0.3333333333333336; 394 394 // protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[2,1] = 0.0; … … 409 409 // output Real RotorAngle1.relativeAngleSensor.phi_rel(quantity = \"Angle\", unit = \"rad\", displayUnit = \"deg\") \"Relative angle between two flanges (= flange_b.phi - flange_a.phi)\"; 410 410 // output Real RotorAngle1.constant_.y \"Connector of Real output signal\"; 411 // parameter Real RotorAngle1.constant_.k = 1.57079632679489 66\"Constant output value\";411 // parameter Real RotorAngle1.constant_.k = 1.570796326794897 \"Constant output value\"; 412 412 // parameter Integer RotorAngle1.rotatorVS2R.n = 2 \"Number of inputs (= number of outputs)\"; 413 413 // input Real RotorAngle1.rotatorVS2R.angle(quantity = \"Angle\", unit = \"rad\", displayUnit = \"deg\"); … … 742 742 // SignalVoltage1.i[2] = SignalVoltage1.plug_p.pin[2].i; 743 743 // SignalVoltage1.i[3] = SignalVoltage1.plug_p.pin[3].i; 744 // VfController1.amplitude = 1.414213562373095 1* VfController1.VNominal * (if abs(VfController1.u) < VfController1.fNominal then abs(VfController1.u) / VfController1.fNominal else 1.0);744 // VfController1.amplitude = 1.414213562373095 * VfController1.VNominal * (if abs(VfController1.u) < VfController1.fNominal then abs(VfController1.u) / VfController1.fNominal else 1.0); 745 745 // der(VfController1.x) = 6.283185307179586 * VfController1.u; 746 746 // VfController1.y[1] = VfController1.amplitude * sin(VfController1.x + VfController1.BasePhase); 747 // VfController1.y[2] = VfController1.amplitude * sin(VfController1.x + VfController1.BasePhase + -6.283185307179586 / /*Real*/(VfController1.m));748 // VfController1.y[3] = VfController1.amplitude * sin(VfController1.x + VfController1.BasePhase + -12.566370614359172/ /*Real*/(VfController1.m));747 // VfController1.y[2] = VfController1.amplitude * sin(VfController1.x + VfController1.BasePhase - 6.283185307179586 / /*Real*/(VfController1.m)); 748 // VfController1.y[3] = VfController1.amplitude * sin(VfController1.x + VfController1.BasePhase - 12.56637061435917 / /*Real*/(VfController1.m)); 749 749 // Ramp1.y = Ramp1.offset + (if time < Ramp1.startTime then 0.0 else if time < Ramp1.startTime + Ramp1.duration then (time - Ramp1.startTime) * Ramp1.height / Ramp1.duration else Ramp1.height); 750 750 // TorqueStep1.tau = (-TorqueStep1.offsetTorque) - (if time < TorqueStep1.startTime then 0.0 else TorqueStep1.stepTorque);
Note: See TracChangeset
for help on using the changeset viewer.