Model/asset_list/mappings/exising_pv.py
2026-02-02 12:25:54 +00:00

26 lines
716 B
Python

import numpy as np
STANDARD_EXISTING_PV = {
"already has PV", "no PV", "unknown"
}
EXISTING_PV_MAPPINGS = {
"NO": "no PV",
"YES": "already has PV",
"no": "no PV",
"yes": "already has PV",
True: "already has PV",
False: "no PV",
np.nan: 'unknown',
'PV: 2kWp array': 'already has PV',
'PV: 25% roof area, PV: 3.6kWp array': 'already has PV',
'PV: 10% roof area, PV: 2kWp array': 'already has PV',
'PV: 50% roof area': 'already has PV',
'Solar PV': 'already has PV',
'SOLAR PV': 'already has PV',
'PV: 40% roof area, PV: 2kWp array': 'already has PV',
'PV: 33% roof area, PV: 2kWp array': 'already has PV',
'PV: 30% roof area': 'already has PV'
}