Is it possible use a battery in Simulink?
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tony Castillo
el 17 de Feb. de 2021
Comentada: Tony Castillo
el 5 de Nov. de 2021
Dear all,
I am modeling a power microgrid model, like the example "power_microgrid", however, I wonder wether is feasible interchange the battery model of the example for one developed in Simscape or not?. My question arises because they are different environments, the battery is shown below.
6 comentarios
Vinay Gurram
el 22 de Jun. de 2021
Hi
Singular matrix error is commonly seen when there is a zero in denominator, could you disable all zero crossings from configuration parameters and check once.
Rik
el 23 de Jun. de 2021
I appreciate your attempt, but even I added a zero crossing block at the output port of the Symscape Electrical battery the error still persisted
Respuesta aceptada
Joel Van Sickel
el 2 de Jul. de 2021
Hello Tony,
the Rcond warning can be very common when using specialized power systesm. Essentially, the tool generates matrices behind the scenes, and they can be near singular depending on circuit topologies and parameter values. It can be non-trivial to determine what is causing these. Some things to try is adding snubbers, changing your time step value, removing extremely small or extremely larger circuit parameters. Eliminating parts of the model and and replacing them with controlled current/voltage sources to isolate what is causing the issue is another possibility. There is a chance your model will work just fine though. It is good to compare fixed step to variable step (ode23Tb) to make sure the results line up.
However, the error in your case is that something with the connection of the battery has the wrong signal dimensions. Can you provide a screen shot of both how you have connected the battery to the microgrid and the battery parameter settings?
Regards,
Joel
8 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Electrical Sensors en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!