Why do I receive a DataType Mismatch error in my SimPowerSystems model?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
When I try to run my SimPowerSystems model I receive the following error message:
Data type mismatch. Input port 3 of block 'circuit_test/DC Motor1/Ia_mot/source/GTO-IGBT Bridge/model1/Tail /Product' expects a signal of data type 'double'. However, it is driven by a signal of data type 'boolean'
Respuesta aceptada
MathWorks Support Team
el 27 de Jun. de 2009
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
There is a problem with SimPowerSystems 2.3 (R13) that is due to the fact that the power circuit is simulated in continuous mode, but the control system is Discrete (Sample time Ts=10e-6 sec).
Although this is theoretically possible, we do not recommend to mix continuous power circuit and discrete control. In order to obtain acceptable performance with large systems, we recommend to discretize the entire system. When the power circuit is discretized the problem does not exist.
Nevertheless, it is being considered for a future release of SimPowerSystems to allow mixed continuous circuit/discrete control. In the mean time, we recommend to use discretization for power electronic models as explained in the documentation that can be accessed by typing the following command at the MATLAB 6.5 (R13) command prompt:
web([docroot '/toolbox/powersys/adv_ch35.html'])
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Nonlinear Operators en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!