Skip to content

Tracking issue for fuel cell electric vehicles #270

Description

@kylecarow

Tracking issue to list notes/problems that need to be fixed before fuel cell vehicles will work in FASTSim-3

Image
  • Internally we will handle a fuel cell vehicle as a HybridElectricVehicle, but add a new PowertrainType option FuelCellElectricVehicle(Box<HybridElectricVehicle>)
  • New powertrain type and inner struct:
    pub enum PowertrainType {
        // ...
        #[serde(rename = "FCEV")]
        #[serde(alias = "FuelCellElectricVehicle")]
        FuelCellElectricVehicle(Box<FuelCellElectricVehicle>),
    }
  • Copy series HEV logic into new FuelCellElectricVehicle inner struct
  • Why not reuse HybridElectricVehicle?
    • No generator for FCEVs, FuelConverter supplies electrical power
      • No need to allow None generator for Series hybrids for just the FCEV case
    • HEVPowertrainControls options do not apply to FCEV
    • HEVAuxControls may still apply, dunno yet

FuelType added by PR #259 (issue #289) will be useful for this, it already has a Hydrogen variant

Blockers:

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions