How is "power_dissipated" being calculated when linking a Probe block to a Battery (Table - Based) block?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
José Luis Martín García de la Vega
el 25 de Jul. de 2023
Comentada: tb
el 24 de Jun. de 2024
I am currently doing some checks on Simscape Battery, and I have recently tried to create by myself the equivalent electrical circuit, with one time-constant dynamics, in order to compare its behaviour with a Battery (Table - Based) one. I have created the circuit with the same parameters (R0, R1, tau1), which are SOC and temperature dependent, and I am defining the same OCV and current for a dicharge test (they are supposed to have the same cell capacity too), but, when I link a Probe to both subsystems, I obtain different results in "power_dissipated".
Actually, the values may appear to be the same, but the electrical circuit ones are 1000 times bigger (0.34 vs 0.00034, e.g.). Using Joule's Law (Q=I^2*R) I obtain exactly the power dissipated in the electrical circuit, and I honestly do not understand why in the Battery (Table - Based) I get different results.
Besides, the two systems are located in the same file (same simulation options), they both have the same (default) Solver Configuration Block and they have been forced to experience the same temperature all the time.
0 comentarios
Respuesta aceptada
Javier Gazzarri
el 25 de Jul. de 2023
Hello Jose,
I believe this is because the default units for power dissipation is kW as opposed to W. You can see this when you open the Simscape Results Explorer at the end of the simulation, select the battery block, and plot power_dissipated.
Please let me know if this answers your question.
Javier
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Choose and Parameterize Blocks 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!