virtualsatellite / VirtualSatellite4-CEF

Virtual Satellite 4 - CEF Application
Eclipse Public License 2.0
9 stars 3 forks source link

CEF: Modeling of subequipment causes wrong summary of mass and power #206

Open dellerDLR opened 9 months ago

dellerDLR commented 9 months ago

Describe the bug The calculation of mass and power is wrong is subequipments are used.

To Reproduce Steps to reproduce the behavior:

  1. Model a system with subequipments and also add mass and powerparameters to the main equipment
  2. Set power and mass for the main equipment to 0
  3. Check the mass and power parameters on sub- and systemlevel

Expected behavior It should be possible to also model subequipments to group equipments

Screenshots Check the teamserver for a demo model. Message me for further information for the access.

Desktop (please complete the following information):

dellerDLR commented 9 months ago

After discussion with @franzTobiasDLR a potential fix might be to change the equations

Ref: massTotal = ( massPerUnit + summary {
    EquipmentMassParameters.massTotal , 1
}

The 1 has to be changed, sothat the mass/power is not counted twice.

dellerDLR commented 6 months ago

Bump, still relevant