Command reference¶
Trnslator provides many commands for managing packages and environments.
The links on this page provide help for each command.
You can also access help from the command line with the
--help
flag:
trnslator --help
trnslator convert¶
Convert regular IDF file (EnergyPlus) to TRNBuild file (TRNSYS) The output folder path defaults to the working directory. Equivalent to ‘.’
trnslator convert [OPTIONS] IDF_FILE WEATHER_FILE [OUTPUT_FOLDER]
Options
-
-i
,
--return_idf
¶
Save modified IDF file to output_folder, and return path to the file in the console
-
-t
,
--return_t3d
¶
Return T3D file path in the console
-
-d
,
--return_dck
¶
Generate dck file and save to output_folder, and return path to the file in the console
-
--window_lib
<window_lib>
¶ Path of the window library (from Berkeley Lab)
-
--trnsidf_exe
<trnsidf_exe>
¶ Path to trnsidf.exe
-
--template
<template>
¶ Path to d18 template file
-
--log_clear_names
¶
If mentioned (True), DO NOT print log of “clear_names” (equivalence between old and new names) in the console. Default (not mentioned) is False.
-
--schedule_as_input
¶
If mentioned (False), writes schedules as SCHEDULES in BUI file. Be aware that this option might make crash TRNBuild. Default (not mentioned) is True, and writes the schedules as INPUTS. This option requires the user to link (in the TRNSYS Studio) the csv file containing the schedules with those INPUTS
-
--ep_version
<ep_version>
¶ Specify the EnergyPlus version to use. Default = None
-
--window
<window>
¶ Specify window properties <u_value> <shgc> <t_vis> <tolerance> <fframe> <uframe>. Default = 2.2 0.64 0.8 0.05 0.15 8.17
-
--ordered
¶
sort idf object names
-
--nonum
¶
Do not renumber surfaces
-
-N
,
--batchjob
¶
BatchJob Modus
-
--geofloor
<geofloor>
¶ Generates GEOSURF values for distributing; direct solar radiation where geo_floor % is directed to the floor, the rest; to walls/windows. Default = 0.6
-
--refarea
¶
Updates floor reference area of airnodes
-
--volume
¶
Updates volume of airnodes
-
--capacitance
¶
Updates capacitance of airnodes
Arguments
-
IDF_FILE
¶
Required argument
-
WEATHER_FILE
¶
Required argument
-
OUTPUT_FOLDER
¶
Optional argument