EVProfile constructor

EVProfile({
  1. int ports = 0,
  2. double departureSoc = 0.85,
  3. double destinationSoc = 0.2,
  4. double chargerDestSoc = 1,
  5. double chargerDepSoc = 0.1,
  6. int chargerOverheadMins = 5,
  7. double batteryHealth = 0.0,
  8. int id = 0,
  9. double batteryCapacity = 0.0,
  10. int towbarPossible = 0,
  11. int vehicleRange = 0,
  12. int efficiency = 0,
  13. int fastCharge = 0,
})

Implementation

EVProfile({
  this.ports = 0,
  this.departureSoc = 0.85,
  this.destinationSoc = 0.2,
  this.chargerDestSoc = 1,
  this.chargerDepSoc = 0.1,
  this.chargerOverheadMins = 5,
  this.batteryHealth = 0.0,
  this.id = 0,
  this.batteryCapacity = 0.0,
  this.towbarPossible = 0,
  this.vehicleRange = 0,
  this.efficiency = 0,
  this.fastCharge = 0,
});