sql

ladybug-comfort sql

Commands for running energyplus sql results through comfort models.

ladybug-comfort sql [OPTIONS] COMMAND [ARGS]...

adaptive-by-room

Get data collections for Adaptive comfort in each room from an EnergyPlus sql.

Args:
result_sql: Path to an SQLite file that was generated by EnergyPlus. This
file must contain hourly or sub-hourly results for zone comfort variables.
epw_file: Path to an .epw file, used to provide prevailing outdoor
temperature for the adaptive comfort model.
ladybug-comfort sql adaptive-by-room [OPTIONS] RESULT_SQL EPW_FILE

Options

-v, --air-speed <air_speed>

A single number for air speed in m/s or a string of a JSON array with numbers that align with the result-sql reporting period. If unspecified, 0.1 m/s will be used.

-cp, --comfort-par <comfort_par>

An AdaptiveParameter string to customize the assumptions of the Adaptive comfort model.

-t, --result-type <result_type>

Text to indicate which PMV result data should be output. Choose from: DegreesFromNeutral, Comfort, Condition.

Default

Condition

-f, --output-file <output_file>

Optional file to output the JSON strings of the data collections. By default, it will be printed to stdout

Default

-

Arguments

RESULT_SQL

Required argument

EPW_FILE

Required argument

pmv-by-room

Get data collections for PMV in each room from an EnergyPlus sql.

Args:
result_sql: Path to an SQLite file that was generated by EnergyPlus. This
file must contain hourly or sub-hourly results for zone comfort variables.
ladybug-comfort sql pmv-by-room [OPTIONS] RESULT_SQL

Options

-v, --air-speed <air_speed>

A single number for air speed in m/s or a string of a JSON array with numbers that align with the result-sql reporting period. If unspecified, 0.1 m/s will be used.

-m, --met-rate <met_rate>

A single number for metabolic rate in met or a string of a JSON array with numbers that align with the result-sql reporting period. If unspecified, 1.1 met will be used.

-c, --clo-value <clo_value>

A single number for clothing level in clo or a string of a JSON array with numbers that align with the result-sql reporting period. If unspecified, 0.7 clo will be used.

-cp, --comfort-par <comfort_par>

A PMVParameter string to customize the assumptions of the PMV model.

-t, --result-type <result_type>

Text to indicate which PMV result data should be output. Choose from: PMV, PPD, SET, Comfort, Condition.

Default

Condition

-f, --output-file <output_file>

Optional file to output the JSON strings of the data collections. By default, it will be printed to stdout

Default

-

Arguments

RESULT_SQL

Required argument