Dimosim interactive API tester

run-from-geojson

documentation

Data

Start time of the simulation. Please use the format given in the example.
Length of one timestep. '1H' means values will be computed every hour. To specify the timestep in minutes, use 10min
Duration of the simulation (same format as timestep_length)
One of ASHRAE, EnergyPlus or METEO_RT2012. To use your own weather file, upload a file below under 'Optional files', 'Custom weather file'.
The weather data file in the format specified under weather_file_source. To use your own weather file, upload a file below under 'Optional files', 'Custom weather file'.
pytz timezone such as 'Europe/Paris' (pytz.all_timezones lists all)
Unique ID for the simulation project. You can use this ID to check the status of your simulation (using /ping) or stop the simulation (using /kill). If several runs have the same ID, /ping or /kill operations will apply to all.
The password which allows you to run simulations on our server. Please contact CSTB to get one.
An ID describing the simulation. It is currently only used as a comment in the Web version of the API.
Not currently used in the Web version of the API.
The format used to store results if realtime-dumping to a database is configured. Use csv for Web simulation, json or hdf for API calls in connection with an arrango data base, json_s3 or hdf_s3 for Amazon s3 bucket storage.
Name of the database schema (e.g. Results, ExternalsResults). Not used in the web version of the API.
Results will be stored starting from this class down the class hirarchy. Keep GenericObject to be able to retrieve all results.
List of results to be stored. Results can also be conveniently defined in the parameter_file (see below).

Files

The file containing the description of the district, including geometry and zoning (e.g. tz_file_demand.geojson). To define results, attach a parameter file below.

Optional files

Optional json file which allows to modify default values for all simulated objects and define required results (e.g. parameter_file_with_results.json)
This file is required (not optional) if a hydraulic network is used (e.g. buildings with substations), because it will allow to define the generator parameters.
This files also allows to compose scenarii, like in this example.
Optional json file defining the geometry of the district heating network (e.g. dhd_file.json)
This file is required (not optional) if a hydraulic network is used (e.g. buildings with substations)
Optional json file defining the generators and their location (e.g. dg_file.json)
This file is required (not optional) if a hydraulic network is used (e.g. buildings with substations)
Weather data file (e.g. Paris.epw). EnergyPlus weather files are available here.
Optional json file allowing to define profiles such as electric load (e.g. scenario_file.json). Use /variables to find possible variables.