根据生态设计评估空气处理装置。
erp-air的Python项目详细描述
简介
从2018年开始,所有通风设备应 符合 欧盟委员会2014年7月7日第1253/2014号条例 执行欧洲指令2009/125/EC 议会和理事会 符合通风装置的生态设计要求。
这个方案只解决非住宅通风问题 单位。
这些需求有时被称为ErP
或
Ecodesign
。
重要的是要按顺序引入一些符号 为了更好地理解代码:
nrvu-非住宅通风设备
sfp-特定风扇功率
int-内部(不要与整数混淆:)
ext-外部
hrs-热回收系统,即转子, 板式换热器O绕线线圈
rac-绕线线圈热回收
rw-转子车轮热回收
phex-板式换热器热回收
uvu-单向通风装置
bvu-双向通风装置
eff-效率
sup-空气处理单元的suply侧
eta-空气处理单元的排气侧
可以找到更多扩展的符号列表 在第2条和附件一.2中 regulation
安装
有两种方法:
- PIP安装ERP AIR
- 从中提取Docker图像 project registry
用法
importattrfromerp_airimport(validate_ahu,ErpResponse,ErpRequest)erp_request=ErpRequest(unit_class="nrvu",unit_type="bvu",has_medium_filter_eta=True,has_fine_filter_sup=True,hrs_type="phex",hrs_thermal_eff_en308=0.827,has_multispeed_drive=True,has_variablespeed_drive=True,airflow_nominal_sup=1,airflow_nominal_eta=1,electric_power_input_effective=155,pressure_drop_int_vent_comps_sup=307,pressure_drop_int_vent_comps_eta=266,pressure_drop_int_non_vent_comps_sup=250,pressure_drop_int_non_vent_comps_eta=250,pressure_drop_ext_sup_nominal=250,pressure_drop_ext_eta_nominal=250,filter_section_area_sup=0.5,filter_section_area_eta=0.5,fan_section_area_sup=0.5,fan_section_area_eta=0.5,fan_eff_static_eu_327_2011_sup=0.35,fan_eff_static_eu_327_2011_eta=0.35,fan_eff_system_static_sup=0.4881,fan_eff_system_static_eta=0.4832,external_leakage_rate=0.004,internal_leakage_rate=0.004,filters_eurovent_compliance=True,filter_energy_class_eurovent_sup="A",filter_energy_class_eurovent_eta="A",recycling_manual_url="url://",has_thermal_bypass_on_hrs=True,has_visual_signaling_on_filters=True,has_alarm_on_filters=True,manufacturer_name="Remak",manufacturer_model="Some model",)erp_response=ErpResponse(comply=True,sfp_int=1178,sfp_int_lim=1241,hrs_thermal_eff=0.827,hrs_thermal_eff_lim=0.73,hrs_type="phex",has_multispeed_drive=True,has_variablespeed_drive=True,has_hrs=True,has_thermal_bypass_on_hrs=True,fan_eff_uvu=0.4881,fan_eff_uvu_min=None,has_visual_signaling_on_filters=True,has_alarm_on_filters=True,manufacturer_name="Remak",manufacturer_model="Some model",unit_class="NRVU",unit_type="BVU",airflow_nominal_sup=1,airflow_nominal_eta=1,electric_power_input_effective=155,face_velocity_sup=2.0,face_velocity_eta=2.0,pressure_drop_ext_sup_nominal=250,pressure_drop_ext_eta_nominal=250,pressure_drop_int_vent_comps_sup=307,pressure_drop_int_vent_comps_eta=266,pressure_drop_int_non_vent_comps_sup=250,pressure_drop_int_non_vent_comps_eta=250,fan_eff_static_eu_327_2011_sup=0.35,fan_eff_static_eu_327_2011_eta=0.35,external_leakage_rate=0.004,internal_leakage_rate=0.004,filters_en779_compliance=True,filter_energy_class_eurovent_sup="A",filter_energy_class_eurovent_eta="A",recycling_manual_url="url://",warnings=None,errors=None,)assertattr.asdict(validate_ahu(erp_request))==attr.asdict(erp_response)