You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replaceable Clocked.RealSignals.Sampler.Utilities.Internal.UniformNoise noise if noisy
constrainedby Clocked.RealSignals.Interfaces.PartialNoise ...
But noiseMax is not part of the constraining class Clocked.RealSignals.Interfaces.PartialNoise, which means that the following will give an error even if it is correct in itself:
package Broken
model NoNoise
extends Modelica.Clocked.RealSignals.Interfaces.PartialNoise;
equation
y=u;
end NoNoise;
model BrokenModel
extends
Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects(
sample1(redeclare NoNoise noise));
end BrokenModel;
end Broken;
If you don't like randomly building such models to find errors and have Dymola (standalone or as part of 3DExperience platform) you can use checkModel("Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects", constraint=true); for finding it.
The possible corrections are:
Extend interface of PartialNoise to include the common parameters like noiseMax.
Redeclare the noise to the given default-component-class - possibly keeping it as replaceable
More?
The text was updated successfully, but these errors were encountered:
Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects
has:where noise is declared as:
But
noiseMax
is not part of the constraining classClocked.RealSignals.Interfaces.PartialNoise
, which means that the following will give an error even if it is correct in itself:If you don't like randomly building such models to find errors and have Dymola (standalone or as part of 3DExperience platform) you can use
checkModel("Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects", constraint=true);
for finding it.The possible corrections are:
PartialNoise
to include the common parameters likenoiseMax
.The text was updated successfully, but these errors were encountered: