Heating/ cooling design script to adjust variables and export data

asked 2022-02-22 22:39:50 -0500

Michael95's avatar

updated 2022-02-23 12:16:05 -0500

Hi All,

I am using design builder to calculating design heating and cooling loads. I require multiple outputs based on different glazing selections and Summer/Winter Design Weather risks. Currently my process is to:

  1. Change the modeling parameters I require
  2. Run the heating and cooling design calculations
  3. Manually export the results for each (including coincident cooling, non-coincident cooling, and heating)

I would like to know if it is possible to automate this process using a script. I have have had a look at the example scripts and can get some of these to work however I am a bit stuck trying to cutomise them. I am able to bring up a message box before the heating simulation (example code I am using below) however I am stuck after that.

using System.Windows.Forms;

using DB.Extensibility.Contracts;

public class ExampleScript : ScriptBase, IScript

{

public override void BeforeHeatingSimulation()

{

MessageBox.Show("Simulation is about to start.");

}

}

Resources I have looked at include:

  • Extensibility Tools User Guide
  • DesignBuilder Help Manual

Any help/ ideas would be very much appreciated.

Michael.

edit retag flag offensive close merge delete