opyplus.Mtd

class opyplus.Mtd(path)

Class describing an EnergyPlus .mtd file.

Parameters
path: str

Path to the EnergyPlus .mtd file

Methods

get_variable_refs(self, meter_ref)

Get variable refs corresponding to a certain meter reference.

has_meter(self, meter_ref)

Check whether the mtd file has a certain meter.

get_variable_refs(self, meter_ref)

Get variable refs corresponding to a certain meter reference.

Parameters
meter_ref: str

The meter reference

Returns
list of str
has_meter(self, meter_ref)

Check whether the mtd file has a certain meter.

Parameters
meter_ref: str

Ref of the meter

Returns
bool