breos.economics.calculate_costs#
- breos.economics.calculate_costs(n_modules, module_power_w, battery_capacity_wh=0.0, cost_params=None)[source]#
Calculate system costs (CAPEX) and return cost dictionary.
- Parameters:
n_modules (
int) – Number of PV modulesmodule_power_w (
float) – Power per module in Watts (STC)battery_capacity_wh (
float) – Battery capacity in Wh (0 for no battery)cost_params (
Optional[CostParams]) – Cost parameters
- Return type:
- Returns:
Dictionary with cost breakdown and totals