honeybee_plus.radiance.command.gendaymtx module

class honeybee_plus.radiance.command.gendaymtx.Gendaymtx(output_name=None, wea_file=None, gendaymtx_parameters=None)[source]

Bases: honeybee_plus.radiance.command._commandbase.RadianceCommand

gendaymtx - Generate an annual Perez sky matrix from a weather tape.

output_name

An optional name for output file name. If None the name of .epw file will be used.

wea_file

Full path to input wea file (Default: None).

gendaymtx_parameters

Radiance parameters for gendaymtx. If None Default parameters will be set. You can use self.gendaymtx_parameters to view, add or remove the parameters before executing the command.

Usage:

from honeybee_plus.radiance.parameters.gendaymtx import GendaymtxParameters from honeybee_plus.radiance.command.gendaymtx import Gendaymtx

# create and modify gendaymtx_parameters # generate sky matrix with default values gmtx = GendaymtxParameters()

# ask only for direct sun gmtx.only_direct = True

# create gendaymtx dmtx = Gendaymtx(wea_file=”C:/IZMIR_TUR.wea”, gendaymtx_parameters=gmtx)

# run gendaymtx dmtx.execute() > c:/radiance/bin/gendaymtx: reading weather tape ‘C:/ladybug/IZMIR_TUR.wea’ > c:/radiance/bin/gendaymtx: location ‘IZMIR_TUR’ > c:/radiance/bin/gendaymtx: (lat,long)=(38.5,-27.0) degrees north, west > c:/radiance/bin/gendaymtx: 146 sky patches per time step > c:/radiance/bin/gendaymtx: stepping through month 1… > c:/radiance/bin/gendaymtx: stepping through month 2… > c:/radiance/bin/gendaymtx: stepping through month 3… > c:/radiance/bin/gendaymtx: stepping through month 4… > c:/radiance/bin/gendaymtx: stepping through month 5… > c:/radiance/bin/gendaymtx: stepping through month 6… > c:/radiance/bin/gendaymtx: stepping through month 7… > c:/radiance/bin/gendaymtx: stepping through month 8… > c:/radiance/bin/gendaymtx: stepping through month 9… > c:/radiance/bin/gendaymtx: stepping through month 10… > c:/radiance/bin/gendaymtx: stepping through month 11… > c:/radiance/bin/gendaymtx: stepping through month 12… > c:/radiance/bin/gendaymtx: writing matrix with 8760 time steps… > c:/radiance/bin/gendaymtx: done.

# change it not to be verbose dmtx.gendaymtx_parameters.verbose_report = False

# run it again dmtx.execute() >

property gendaymtx_parameters

Get and set gendaymtx_parameters.

property input_files

Input files for this command.

property output_file

Output file address.

to_rad_string(relative_path=False)[source]

Return full command as a string.