As far as I understand, the simulation scripts built into PLECS use the built-in octave, but it contains too few library files to support my other tasks. How do I install other octave libraries to complete the function.
Or to put it another way, how do I change the values in my xml model in simulation scripts, e.g. thermal chain or Rgon, Rgoff.I need to change these parameters to implement batch, automated simulations. I can only change the voltage, current, and other parameters in the circuit through simulation scripts, but I cannot change the parameters in XML to meet my needs。
What is the purpose of changing the XML file?
As the linked post explains, it is possible to modify the original input. This can be useful for parallel devices or for a modified thermal chain (e.g., due to water cooling). However, changing the original XML data is generally not advisable, unless you are correcting inaccurate data.
Can the built-in octave implement modifications for water cooling? Because using Python for integration would be significantly more complicated compared to octave.I have previously completed the modification of parameters such as voltage and current using Octave, and I am able to output the acquired data as a CSV file. If I switch to Python, I would have to restructure my code.
Therefore, I would like to know the limitations of the built-in octave in PLECS, whether it is capable of loading additional octave libraries, or if there are alternative methods to modify data such as water cooling.
To address the original question: No, PLECS cannot load external libraries. However, it is possible to start PLECS through the RPC interface and control it from Octave. Since the RPC interface is not natively supported in Octave (similar to MATLAB), we recommend using Python instead.
… or if there are alternative methods to modify data such as water cooling.
It is unclear to me what you would like to modify. Could you please attach an example?