C:\Users\julien\EnergyPlus\datasets\FMUs>C:\EnergyPlusV9-4-0\PreProcess\FMUParser\parser --printidf ShadingController.fmu
This creates a ShadingController/
folder and a tmp.idf
Here is the parser help:
$ parser --help
NAME
parser - parse xml file
SYNOPSIS
parser OPTION...FMUFILE...[-name objNam]
DESCRIPION
The parser parses informaiton in modelDescription.xml file in functional mock-up unit for co-simulation.
OPTION
-d, --delete
delete the unpacked fmu folder
-h, --help
print help information
-p, --printidf
print temporary IDF file for Energyplus
-u, --unpack
unpack the FMU
-v, --verbose
print debug information. It is the only option that can combine with other options.
OTHERS
-n, --name
extract the fmu in folder objNam. The default folder name is fmu's name without the ".fmu".
EXAMPLE
To generate a temporary IDF file from a fmu named havc.fmu in Linux
parser -p hvac.fmu
To unpack the fmu havc.fmu in a folder called MyFMU in linux
parser -u havc.fmu -n MyFMU
AUTHOR
Wangda Zuo, Thierry S. Nouidui, Michael Wetter @ Lawrence Berkeley National Laboratory
LICENSE
Copyright (c) 2012, The Regents of the University of California, through Lawrence Berkeley National Laboratory subject to receipt of any required approvals from the U.S. Dept. of Energy. All rights reserved
What's the actual command you typed? You need to pass it a *.fmu file. Try
parser -printidf xxx.fmu
Yes, I have typed it.But it seems no feedback.
On Linux it's
--printidf
. Tryparser.exe --help
. Also, on Ubuntu it doesn't work