-
Filter by Topic
Most Popular
All Topics
- List all discussions
Troubles with export to Simulink model as General dynamic block
|
Thread index | Previous thread | Next thread | Start a new discussion |
March 9, 2010 6:14pm UTC
Troubles with export to Simulink model as General dynamic block
Hello, everyone!
I tried to export the model of synchronous generator - generator_2d.mph from AC/DC Module/Motors and Drives of Model library, but it doesn't work. When I try to simulate this model from Simulink it reports about 2 mistakes:
Model error "Java exception occurred:
Exception:
com.femlab.jni.FlNativeException: Matrix is zero
Messages:
Matrix is zero"
and
Block error "Error in 'untitled/COMSOL Multiphysics Subsystem/S-Function' while executing M-File S-function 'femsfun', flag = 1 (derivatives), at time 0. MATLAB error message:
Java exception occurred:
Exception:
com.femlab.jni.FlNativeException: Matrix is zero
Messages:
Matrix is zero
Stack trace:
at linearization.cpp, row 2146, ()
at com.femlab.solver.Linearization.newMatResSolve(Native Method)
at com.femlab.solver.Linearization.newMatResSolve(Unknown Source)",
when solver is ode45
and another mistake:
Model error "Memory allocation failure", when solver is ode15s
When I export this as "General static", all work good! And in this way I even able to get diagramms of magnetic values time dependend. But for some reason electrical values is possible to get only in General dynamic export...
Please help me to make a working general dynamic export of generator_2d to Simulink and to avoid the errors!
Thank you a lot!! With best wishes,
Konstantin.
P.S. Sorry for my English.
Reply | Reply with Quote | Send private message | Report Abuse
Rules and guidelines
