Replies: 2 comments 5 replies
-
At best you could look inside the |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
Solution
object has ay
property that represents the values of the solution. But how do I use this property to obtain values such as voltage, current, time, etc.? For example, the voltage values can be obtained from the solution'sProcessedVariable
usingsolution['Terminal voltage [V]'].entries
. How would I get the voltage results without using the processed variable object?The example below calculates the solution at each time step then stores the time, current, and voltage. Using cProfile, the processed variables account for 25% of the time it takes to execute the script. It would be less expensive if there is a way to get the results out of the solution without using the
ProcessedVariable
objects at each time step.Beta Was this translation helpful? Give feedback.
All reactions