Why do I receive a "There is no electrical measurement in your model" warning when I copy a model that has a measurement block in SimPowerSystems 3.1 (R14) and SimPowerSystems 4.0 (R14SP1)?

9 views (last 30 days)
I copy a subsystem which has SimPowerSystem blocks to another model. When I execute the copied model, I receive a warning message stating that there is no electrical measurement in the model.
There is no electrical measurement in your model. You need to add one of the following blocks in your circuit.
- Current Measurement block
- Voltage Measurement block
- A Three-Phase VI Measurement block
- Or a multimeter block
However, in the model there is a Voltage Measurement block. On the MATLAB command window, there are also the following warning messages:
Warning: Matching "Goto" for "From" 'Dummy_small/sys1/sys2/7/From' not found.
Warning: Matching "Goto" for "From" 'Dummy_small/sys1/sys2/8/source' not found.
Warning: Matching "From" for "Goto" 'Dummy_small/sys1/sys2/2/Goto' not found.
Warning: Matching "From" for "Goto" 'Dummy_small/sys1/sys2/9/Goto' not found.
This behavior is not consistent.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This enhancement has been incorporated in SimPowerSystems 4.1.1 (R14SP3). For previous product releases, read below for any possible workarounds:
This issue is a known limitation in SimPowerSystem 3.1 (R14) and 4.0 (R14SP1). In these versions of SimPowerSystem, electrical measurement blocks are used to store the equivalent Simulink circuit that represents the electrical system that was built with SimPowerSystem blocks. Consequently, one of these blocks are required in the model to run the simulation. Although there are voltage measurement blocks in the copied subsystem, the subsystem is linked to a library, making it a library block. In theory, SimPowerSystem will need to modify the internal contents of this block before the simulation starts but because this is a library block, its contents cannot be modified (a library/link principle). Consequently SimPowerSystem will disregard the measurement block within this subsystem. This situation results in the display of the mentioned warning when the simulation starts.
To workaround this issue, add a Multimeter block outside of the copied subsystem or create a subsystem in the new model and copy the block under it.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!