Version_0_17_0 class
Requirements.UsersGuide.ReleaseNotes.Version_0_17_0
ยท source
Version 0.17.0 (Nov. 9, 2026)
Extends Modelica.Icons.ReleaseNotes
Phasors. The new package Units.Phasors transforms a phasor between its two coordinate systems, in both directions, so that a requirement can name a phasor's magnitude, phase angle, real part or imaginary part whichever form the model carries it in:
- rectangular to polar:
magnitude(re, im)andphaseAngle(re, im), in (-pi, pi]; - polar to rectangular:
realPart(r, phi)andimaginaryPart(r, phi); wrapAngle(phi), to (-pi, pi], andphaseDifference(phi1, phi2), the phase angle of one phasor relative to another, wrapped.
The magnitude is the one the model carries: the MSL's quasi-static phasors are RMS phasors.
Examples.Elementary.Units.Phasors asserts every
function, its agreement with Modelica.ComplexMath.abs and arg, and the round trip. The functions
follow Chaperone's phasor signals (Chaperone, Planning/MSL_PHRASEBOOK_SURVEY.md, step 5). No existing class
changed.
No model conversion is needed: conversion(noneFromVersion="0.16.0").
Copyright © 2026 Model Based Innovation LLC. All rights reserved.