11-04-2013 10:29 PM
I am simulating a small photovoltaic panel (island power plant). The model is running in LV and the circuit parameters are computing in subVI with Multisim model.
The model works very good, but for right function is necessary set the voltage of the PV diode as initial condition. Its OK, but for better function I need to control initial condition as input from VI.
My question is: Is possible to control initial condition as input from VI?
Thank you for your help.
11-12-2013 02:51 AM
Hi Slezinger and welcome to NI forums!
I'm afraid this functionality is not available for co-simulation, so the only way I believe you can implement this is to have a dedicated input/circuitry to set your parameters at t0.
Regards:
Andrew Valko
NI Hungary
11-12-2013 08:40 AM
Hi Slezingr,
Inside Multisim, you can define an initial condition at a node by double clicking on a wire then select the Simulation settings tab, check the Use IC for Transient Analysis box and enter a voltage you want. Next, select Simulate »Interactive Simulation Settings from the main menu, click the drop down menu for Initial Condition and select User defined. Save the Multisim file and in LV, reload the Multisim file in the VI.
11-13-2013 04:12 AM
Thank you for your help. Now i know, how to set IC.
But I need set the IC different for every simulation directly from LV.
For example: I have photovoltaic panel simulation, and IC is different for 1 panel (36 V) or for 2 panels in serial (72 V).
My idea is, that MS block in LV will have a input, which name will be "IC." And if the LV call the MS subvi, IC will be set on right value.