Compacted the kosten with only the contractual variable visible.
This commit is contained in:
@@ -13,17 +13,22 @@ namespace BattSim.Services
|
||||
{
|
||||
public class EnergyCostCalculator
|
||||
{
|
||||
// Base cost
|
||||
public double BasePayment { get; set; } = 35;
|
||||
public double DataManagementCost { get; set; } = 18.77;
|
||||
public double FlemishEnergyTariff { get; set; } = 118.56;
|
||||
// Energy cost
|
||||
public double EnergyCost { get; set; } = 0.1364;
|
||||
public double ReturnCost { get; set; } = 0.0266;
|
||||
// Green energy cost
|
||||
public double GreenCertificateCost { get; set; } = 0.01172;
|
||||
public double HeatingCertificateCost { get; set; } = 0.00415;
|
||||
public double DataManagementCost { get; set; } = 18.77;
|
||||
// Net and distributino ocsts
|
||||
public double CapacityCost { get; set; } = 58.20;
|
||||
public double UsageTariff { get; set; } = 0.0637;
|
||||
// Tax
|
||||
public double EnergyContribution { get; set; } = 0.00205;
|
||||
public double SpecialTariffs { get; set; } = 0.0502;
|
||||
public double FlemishEnergyTariff { get; set; } = 118.56;
|
||||
|
||||
public double CalculateCostOfEnergyUsage(EnergyData[] energyData, bool print = false) {
|
||||
int amountOfDays = energyData.Last().Time.Subtract(energyData.First().Time).Days;
|
||||
|
||||
Reference in New Issue
Block a user