title: FMU Export of Python Code or Python Interface with FMI Standard for Use in EnergyPlus Co-Simulation
body: <p>My research group has developed python code for a new building component that we would like to co-simulate with EnergyPlus. For reuseability and market impact we would like this connection to be as easy as possible for inexperienced users and believe packing the model using the <a href="https://www.fmi-standard.org/start" rel="nofollow">Function Mockup Interface Standard (FMI)</a> to be the best option.</p>
  
  <p>We have explored <a href="http://www.jmodelica.org/" rel="nofollow">JModelica</a> to test other Functional Mockup Units (FMUs) but found that it does not do FMU export of Python code for model exchange or co-simulation. </p>
  
  <p>I was curious if there any methods for packaging python code as an FMU? If there is not, is there another way of linking Python to the FMI standard or connecting it to a building energy software like EnergyPlus?</p>
  
  <p>The alternative to this would be exporting the building energy model as an FMU and import into modelica/jmodelica or using BCVTB. Although this would work for us we worry it would make it too difficult for inexperienced individuals to use our tool.  </p>