I'm afraid I do not have experience with LabVIEW's MathScript, but if it can be 
made to run a MATLAB script, then you can certainly make it call MATPOWER's 
runpf().

You may have to write your own wrapper script to handle the inputs from LabVIEW 
and set up the call to runpf() and then package the results to pass back to 
LabVIEW, but that should be straightforward if you are familiar with the 
LabVIEW/MATLAB interface.

   Ray


On Oct 26, 2023, at 6:32 PM, Kevin Yong <[email protected]> wrote:

Hello Everyone,

I was wondering if it is possible to run MATPOWER power flow m file in LabVIEW 
math script. A bit of background of my work. I am currently constructing a 
digital twin of a microgrid in LabVIEW and would like to power flow in LabVIEW. 
I have configured a case file specifically for the microgrid however, I am not 
sure if LabVIEW mathscript supports MATPOWER. Please advise. Thank you.

Best Regards,
Kevin

Reply via email to