WOLFRAM SYSTEM MODELER
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Version 3.2.2 is backward compatible to version 3.2.1, that is models developed with versions 3.0, 3.0.1, 3.1, 3.2, or 3.2.1 will work without any changes also with version 3.2.2 (with exception of the, usually uncritical, non-backwards compatible changes listed below with regards to external object libraries, and one bug fix introduced in 3.2.1 Build.3 for non-circular pipes that can be non-backwards compatible if a user constructed a new pipe model based on Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction, see details below).
The exact difference between package Modelica version 3.2.2 and version 3.2.1 is summarized in the following two comparison tables:
This release of package Modelica, and the accompanying ModelicaTest, has been tested with the following tools (the tools are listed alphabetically. At the time of the test, some of the tools might not yet supported the complete Modelica package. For more details of the tests see #1867):
The following Modelica packages have been tested that they work together with this release of package Modelica (alphabetical list):
The following new libraries have been added:
This library offers models for rectifiers, inverters and DC/DC-converters.|
(This library was developed by Christian Kral and Anton Haumer).
This library provides quasi-static models of multiphase machines (induction machines, synchronous machines) in parallel (with the same parameters but different electric connectors)
to the transient models in Modelica.Magnetic.FundamentalWave.|
Quasistatic means that electric transients are neglected, voltages and currents are supposed to be sinusoidal. Mechanical and thermal transients are taken into account.
This library is especially useful in combination with the Modelica.Electrical.QuasiStationary library in order to build up very fast simulations of electrical circuits with sinusoidal currents and voltages.
(This library was developed by Christian Kral and Anton Haumer).
|Sublibraries of Modelica.Magnetic.FluxTubes||
New elements for modeling ferromagnetic (static) and eddy current (dynamic) hysteresis effects and permanent magnets have been added.
The FluxTubes.Material package is also extended to provide hysteresis data for several magnetic materials. These data is partly based on own measurements.
For modeling of ferromagnetic hysteresis, two different hysteresis models have been implemented: The simple Tellinen model and the considerably
more detailed Preisach hysteresis model. The following packages have been added:
|Sublibraries for noise modeling||Several new sublibraries have been added allowing the modeling of reproducible noise. The most important new sublibraries are (for more details see below):|
|Modelica.Utilities functions for matrix read/write||
New functions are provided in the Modelica.Utilities.Streams
sublibrary to write matrices in MATLAB MAT format on file and read matrices in this format from file.
The MATLAB MAT formats v4, v6, v7 and v7.3 (in case the tool supports HDF5) are supported by these functions.
Additionally, example models are provided under
to demonstrate the usage of these functions in models. For more details see below.|
(These extensions have been developed by Thomas Beutlich from ITI GmbH).
|Modelica.Math sublibrary for FFT||
The new sublibrary FastFourierTransform
provides utility and convenience functions to compute the Fast Fourier Transform (FFT).
Additionally two examples are present to demonstrate how to compute an FFT during continuous-time
simulation and store the result on file. For more details see below.|
(These extensions have been developed by Martin Kuhn and Martin Otter from DLR Institute of System Dynamics and Control).
The following new components have been added to existing libraries:
|NoiseExamples||Several examples to demonstrate the usage of the blocks in the new sublibrary Blocks.Noise.|
|PartialNoise||Partial noise generator (base class of the noise generators in Blocks.Noise)|
|ContinuousMean||Calculates the empirical expectation (mean) value of its input signal|
|Variance||Calculates the empirical variance of its input signal|
|StandardDeviation||Calculates the empirical standard deviation of its input signal|
|GlobalSeed||Defines global settings for the blocks of sublibrary Noise, especially a global seed value is defined|
|UniformNoise||Noise generator with uniform distribution|
|NormalNoise||Noise generator with normal distribution|
|TruncatedNormalNoise||Noise generator with truncated normal distribution|
|BandLimitedWhiteNoise||Noise generator to produce band-limited white noise with normal distribution|
|ShowTransferFunction||Example to demonstrate the usage of the block TransferFunction.|
|TransferFunction||This block allows to define a complex transfer function (depending on frequency input w) to obtain the complex output y.|
|LogFrequencySweep||The logarithm of w performs a linear ramp from log10(wMin) to log10(wMax), the output is the decimal power of this logarithmic ramp.|
|ControlledDCDrives||Current, speed and position controlled DC PM drive|
|SpringDamperNoRelativeStates||Introduced to fix ticket 1375|
|ElastoBacklash2||Alternative model of backlash. The difference to the existing ElastoBacklash component is that an event is generated when contact occurs and that the contact torque changes discontinuously in this case. For some user models, this variant of a backlash model leads to significantly faster simulations.|
|NonCircularPipes||Introduced to check the fix of ticket 1681|
|PsychrometricData||Introduced to fix ticket 1679|
|balanceABC||Return a balanced form of a system [A,B;C,0] to improve its condition by a state transformation|
|Xorshift64star||Random number generator xorshift64*|
|Xorshift128plus||Random number generator xorshift128+|
|Xorshift1024star||Random number generator xorshift1024*|
|initialStateWithXorshift64star||Return an initial state vector for a random number generator (based on xorshift64star algorithm)|
|automaticGlobalSeed||Creates an automatic integer seed from the current time and process id (= impure function)|
|initializeImpureRandom||Initializes the internal state of the impure random number generator|
|impureRandom||Impure random number generator (with hidden state vector)|
|impureRandomInteger||Impure random number generator for integer values (with hidden state vector)|
|Uniform||Library of uniform distribution functions (functions: density, cumulative, quantile)|
|Normal||Library of normal distribution functions (functions: density, cumulative, quantile)|
|TruncatedNormal||Library of truncated normal distribution functions (functions: density, cumulative, quantile)|
|Weibull||Library of Weibull distribution functions (functions: density, cumulative, quantile)|
|TruncatedWeibull||Library of truncated Weibull distribution functions (functions: density, cumulative, quantile)|
|erf||Error function erf(u) = 2/sqrt(pi)*Integral_0_u exp(-t^2)*d|
|erfc||Complementary error function erfc(u) = 1 - erf(u)|
|erfInv||Inverse error function: u = erf(erfInv(u))|
|erfcInv||Inverse complementary error function: u = erfc(erfcInv(u))|
|sinc||Unnormalized sinc function: sinc(u) = sin(u)/u|
|realFFTinfo||Print information about real FFT for given f_max and f_resolution|
|realFFTsamplePoints||Return number of sample points for a real FFT|
|realFFT||Return amplitude and phase vectors for a real FFT|
|readMatrixSize||Read dimensions of a Real matrix from a MATLAB MAT file|
|readRealMatrix||Read Real matrix from MATLAB MAT file|
|writeRealMatrix||Write Real matrix to a MATLAB MAT file|
|hashString||Creates a hash value of a String|
|getTime||Retrieves the local time (in the local time zone)|
|getPid||Retrieves the current process id|
The following existing components have been changed in a non-backward compatible way:
|HeatingDiode|| Removed protected variable k "Boltzmann's constant".|
Calculate protected constant q "Electron charge" from already known constants instead of defining a protected variable q.
| Removed parameter K "Boltzmann's constant" and q "Elementary electronic charge".|
Calculate instead protected constant q "Electron charge" from already known constants.
Users that have used these parameters might have broken their models; the (although formal non-backwards compatible) change offers the users a safer use.