Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit b17fcc81 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

subtract 1.2m from the length when calculation volume of passenger compartment

parent 03533bc7
Branches
Tags v1.1.0
No related merge requests found
...@@ -550,7 +550,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter.SimulationComponen ...@@ -550,7 +550,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter.SimulationComponen
busParams.VehicleLength, busParams.VehicleCode, busParams.VehicleLength, busParams.VehicleCode,
busParams.NumberPassengersLowerDeck); busParams.NumberPassengersLowerDeck);
var height = DeclarationData.BusAuxiliaries.CalculateInternalHeight(busParams.VehicleCode, RegistrationClass.II, busParams.BodyHeight); var height = DeclarationData.BusAuxiliaries.CalculateInternalHeight(busParams.VehicleCode, RegistrationClass.II, busParams.BodyHeight);
var volume = length * height * busParams.VehicleWidth; var volume = (length - Constants.BusParameters.DriverCompartmentLength) * height * busParams.VehicleWidth;
var driver = DeclarationData.BusAuxiliaries.HVACMaxCoolingPower.DriverMaxCoolingPower( var driver = DeclarationData.BusAuxiliaries.HVACMaxCoolingPower.DriverMaxCoolingPower(
hvacConfiguration, mission.MissionType); hvacConfiguration, mission.MissionType);
...@@ -568,7 +568,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter.SimulationComponen ...@@ -568,7 +568,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter.SimulationComponen
busParams.VehicleLength, busParams.VehicleCode, busParams.VehicleLength, busParams.VehicleCode,
busParams.NumberPassengersLowerDeck); busParams.NumberPassengersLowerDeck);
var height = DeclarationData.BusAuxiliaries.CalculateInternalHeight(busParams.VehicleCode, RegistrationClass.II, busParams.BodyHeight); var height = DeclarationData.BusAuxiliaries.CalculateInternalHeight(busParams.VehicleCode, RegistrationClass.II, busParams.BodyHeight);
var volume = length * height * busParams.VehicleWidth; var volume = (length - Constants.BusParameters.DriverCompartmentLength) * height * busParams.VehicleWidth;
var driver = DeclarationData.BusAuxiliaries.HVACMaxHeatingPower.DriverMaxHeatingPower( var driver = DeclarationData.BusAuxiliaries.HVACMaxHeatingPower.DriverMaxHeatingPower(
hvacConfiguration, mission.MissionType); hvacConfiguration, mission.MissionType);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment