Skip to content

Commit 166cf92

Browse files
committed
adapt unit for percent to Modelica spec
1 parent ce36f26 commit 166cf92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PowerSystems/Basic/Types.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,10 @@ package Types
349349
</html>"));
350350
end ReferenceAngle;
351351

352-
type AngularVelocity = SI.AngularVelocity(displayUnit = "rpm");
352+
type AngularVelocity = SI.AngularVelocity(displayUnit="rpm");
353353
type Charge_Ah = Real (final quantity="ElectricCharge", final unit="A.h");
354354
type Length = SI.Length(displayUnit="km");
355-
type Percent = Real(final quantity="Percent",final unit="%");
355+
type Percent = Real(final quantity="Percent",final unit="m1");
356356
type Stiffness = Real (final quantity="Stiffness", final unit="N", final min=0);
357357
type TorsionStiffness = Real (final quantity="TorsionStiffness", final unit="N.m/rad", final min=0);
358358

0 commit comments

Comments
 (0)