Ignore:
Timestamp:
2014-03-25T16:46:23+01:00 (10 years ago)
Author:
vitalij
Message:
  • added rules for signum
  • added rule for e/exp(e1) => e * exp(-e1)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testsuite/flattening/libraries/msl22/SMR_Inverter.mos

    r18496 r19749  
    8989//   Real SMR1.spacePhasorS.plug_n.pin[3].i(quantity = \"ElectricCurrent\", unit = \"A\") \"Current flowing into the pin\";
    9090//   protected parameter Real SMR1.spacePhasorS.TransformationMatrix[1,1] = 0.6666666666666666;
    91 //   protected parameter Real SMR1.spacePhasorS.TransformationMatrix[1,2] = -0.33333333333333315;
     91//   protected parameter Real SMR1.spacePhasorS.TransformationMatrix[1,2] = -0.3333333333333331;
    9292//   protected parameter Real SMR1.spacePhasorS.TransformationMatrix[1,3] = -0.3333333333333336;
    9393//   protected parameter Real SMR1.spacePhasorS.TransformationMatrix[2,1] = 0.0;
     
    311311//   input Real CurrentRMSsensor1.ToSpacePhasor1.u[3] \"Connector of Real input signals\";
    312312//   protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[1,1] = 0.6666666666666666;
    313 //   protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[1,2] = -0.33333333333333315;
     313//   protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[1,2] = -0.3333333333333331;
    314314//   protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[1,3] = -0.3333333333333336;
    315315//   protected parameter Real CurrentRMSsensor1.ToSpacePhasor1.TransformationMatrix[2,1] = 0.0;
     
    390390//   input Real RotorAngle1.ToSpacePhasorVS.u[3] \"Connector of Real input signals\";
    391391//   protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[1,1] = 0.6666666666666666;
    392 //   protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[1,2] = -0.33333333333333315;
     392//   protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[1,2] = -0.3333333333333331;
    393393//   protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[1,3] = -0.3333333333333336;
    394394//   protected parameter Real RotorAngle1.ToSpacePhasorVS.TransformationMatrix[2,1] = 0.0;
     
    409409//   output Real RotorAngle1.relativeAngleSensor.phi_rel(quantity = \"Angle\", unit = \"rad\", displayUnit = \"deg\") \"Relative angle between two flanges (= flange_b.phi - flange_a.phi)\";
    410410//   output Real RotorAngle1.constant_.y \"Connector of Real output signal\";
    411 //   parameter Real RotorAngle1.constant_.k = 1.5707963267948966 \"Constant output value\";
     411//   parameter Real RotorAngle1.constant_.k = 1.570796326794897 \"Constant output value\";
    412412//   parameter Integer RotorAngle1.rotatorVS2R.n = 2 \"Number of inputs (= number of outputs)\";
    413413//   input Real RotorAngle1.rotatorVS2R.angle(quantity = \"Angle\", unit = \"rad\", displayUnit = \"deg\");
     
    742742//   SignalVoltage1.i[2] = SignalVoltage1.plug_p.pin[2].i;
    743743//   SignalVoltage1.i[3] = SignalVoltage1.plug_p.pin[3].i;
    744 //   VfController1.amplitude = 1.4142135623730951 * 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);
    745745//   der(VfController1.x) = 6.283185307179586 * VfController1.u;
    746746//   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));
    749749//   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);
    750750//   TorqueStep1.tau = (-TorqueStep1.offsetTorque) - (if time < TorqueStep1.startTime then 0.0 else TorqueStep1.stepTorque);
Note: See TracChangeset for help on using the changeset viewer.