Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

drivese update breaks assembly connections #16

Open
evan-gaertner opened this issue Aug 12, 2019 · 0 comments
Open

drivese update breaks assembly connections #16

evan-gaertner opened this issue Aug 12, 2019 · 0 comments

Comments

@evan-gaertner
Copy link
Contributor

The latest DriveSE update breaks assembly connections from exterior modules (i.e. RotorSE) by declaring promoted parameters as independent variables. Example, lines 777-791 in drivese_omdao.py:

    > # Add some more IndepVarComps to get rid of 'no associated unknowns' message
    > self.add('rotor_diameter',         IndepVarComp('rotor_diameter',         0.0), promotes=['*'])
    > self.add('rotor_rpm',              IndepVarComp('rotor_rpm',              0.0), promotes=['*'])
    > self.add('rotor_torque',           IndepVarComp('rotor_torque',           0.0), promotes=['*'])
    > self.add('rotor_thrust',           IndepVarComp('rotor_thrust',           0.0), promotes=['*'])
    > self.add('rotor_bending_moment_x', IndepVarComp('rotor_bending_moment_x', 0.0), promotes=['*'])
    > self.add('rotor_bending_moment_y', IndepVarComp('rotor_bending_moment_y', 0.0), promotes=['*'])
    > self.add('rotor_bending_moment_z', IndepVarComp('rotor_bending_moment_z', 0.0), promotes=['*'])
    > self.add('rotor_force_y',          IndepVarComp('rotor_force_y',          0.0), promotes=['*'])
    > self.add('rotor_force_z',          IndepVarComp('rotor_force_z',          0.0), promotes=['*'])
    > self.add('blade_mass',             IndepVarComp('blade_mass',             0.0), promotes=['*'])
    > self.add('blade_root_diameter',    IndepVarComp('blade_root_diameter',    0.0), promotes=['*'])
    > self.add('blade_length',           IndepVarComp('blade_length',           0.0), promotes=['*'])
    > self.add('drivetrain_efficiency',  IndepVarComp('drivetrain_efficiency',  0.0), promotes=['*'])
    > self.add('machine_rating',         IndepVarComp('machine_rating',         0.0), promotes=['*'])

Returns errors:

Target 'drive.above_yaw_massAdder.machine_rating' is connected to multiple unknowns: ['drive.machine_rating.machine_rating', 'rotor.machine_rating.machine_rating']
Target 'drive.bedplate.machine_rating' is connected to multiple unknowns: ['drive.machine_rating.machine_rating', 'rotor.machine_rating.machine_rating']
Target 'drive.bedplate.rotor_bending_moment_y' is connected to multiple unknowns: ['drive.rotor_bending_moment_y.rotor_bending_moment_y', 'rotor.output_struc.Mxyz_total']
Target 'drive.bedplate.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.bedplate.rotor_force_z' is connected to multiple unknowns: ['drive.rotor_force_z.rotor_force_z', 'rotor.output_struc.Fxyz_total']
Target 'drive.gearbox.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.gearbox.rotor_rpm' is connected to multiple unknowns: ['drive.rotor_rpm.rotor_rpm', 'rotor.outputs_aero.rated_Omega']
Target 'drive.gearbox.rotor_torque' is connected to multiple unknowns: ['drive.rotor_torque.rotor_torque', 'rotor.outputs_aero.rated_Q']
Target 'drive.generator.machine_rating' is connected to multiple unknowns: ['drive.machine_rating.machine_rating', 'rotor.machine_rating.machine_rating']
Target 'drive.generator.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.generator.rotor_rpm' is connected to multiple unknowns: ['drive.rotor_rpm.rotor_rpm', 'rotor.outputs_aero.rated_Omega']
Target 'drive.highSpeedSide.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.highSpeedSide.rotor_torque' is connected to multiple unknowns: ['drive.rotor_torque.rotor_torque', 'rotor.outputs_aero.rated_Q']
Target 'drive.hub.adder.blade_mass' is connected to multiple unknowns: ['drive.blade_mass.blade_mass', 'rotor.output_struc.mass_one_blade']
Target 'drive.hub.hub.blade_mass' is connected to multiple unknowns: ['drive.blade_mass.blade_mass', 'rotor.output_struc.mass_one_blade']
Target 'drive.hub.hub.blade_root_diameter' is connected to multiple unknowns: ['drive.blade_root_diameter.blade_root_diameter', 'rotor.rotorGeometry.spline.chord']
Target 'drive.hub.hub.machine_rating' is connected to multiple unknowns: ['drive.machine_rating.machine_rating', 'rotor.machine_rating.machine_rating']
Target 'drive.hub.hub.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.hub.hub.rotor_rpm' is connected to multiple unknowns: ['drive.rotor_rpm.rotor_rpm', 'rotor.outputs_aero.rated_Omega']
Target 'drive.hub.pitchSystem.blade_mass' is connected to multiple unknowns: ['drive.blade_mass.blade_mass', 'rotor.output_struc.mass_one_blade']
Target 'drive.hub.pitchSystem.rotor_bending_moment_y' is connected to multiple unknowns: ['drive.rotor_bending_moment_y.rotor_bending_moment_y', 'rotor.output_struc.Mxyz_total']
Target 'drive.hub.spinner.blade_root_diameter' is connected to multiple unknowns: ['drive.blade_root_diameter.blade_root_diameter', 'rotor.rotorGeometry.spline.chord']
Target 'drive.hubCM.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.lowSpeedShaft.drivetrain_efficiency' is connected to multiple unknowns: ['drive.drivetrain_efficiency.drivetrain_efficiency', 'rotor.drivetrainEff.drivetrainEff']
Target 'drive.lowSpeedShaft.machine_rating' is connected to multiple unknowns: ['drive.machine_rating.machine_rating', 'rotor.machine_rating.machine_rating']
Target 'drive.lowSpeedShaft.rotor_bending_moment_x' is connected to multiple unknowns: ['drive.rotor_bending_moment_x.rotor_bending_moment_x', 'rotor.output_struc.Mxyz_total']
Target 'drive.lowSpeedShaft.rotor_bending_moment_y' is connected to multiple unknowns: ['drive.rotor_bending_moment_y.rotor_bending_moment_y', 'rotor.output_struc.Mxyz_total']
Target 'drive.lowSpeedShaft.rotor_bending_moment_z' is connected to multiple unknowns: ['drive.rotor_bending_moment_z.rotor_bending_moment_z', 'rotor.output_struc.Mxyz_total']
Target 'drive.lowSpeedShaft.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.lowSpeedShaft.rotor_force_y' is connected to multiple unknowns: ['drive.rotor_force_y.rotor_force_y', 'rotor.output_struc.Fxyz_total']
Target 'drive.lowSpeedShaft.rotor_force_z' is connected to multiple unknowns: ['drive.rotor_force_z.rotor_force_z', 'rotor.output_struc.Fxyz_total']
Target 'drive.lowSpeedShaft.rotor_thrust' is connected to multiple unknowns: ['drive.rotor_thrust.rotor_thrust', 'rotor.output_struc.Fxyz_total']
Target 'drive.mainBearing.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.rna.machine_rating' is connected to multiple unknowns: ['drive.machine_rating.machine_rating', 'rotor.machine_rating.machine_rating']
Target 'drive.secondBearing.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.transformer.machine_rating' is connected to multiple unknowns: ['drive.machine_rating.machine_rating', 'rotor.machine_rating.machine_rating']
Target 'drive.transformer.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.yawSystem.rotor_diameter' is connected to multiple unknowns: ['drive.rotor_diameter.rotor_diameter', 'rotor.outputs_aero.diameter']
Target 'drive.yawSystem.rotor_thrust' is connected to multiple unknowns: ['drive.rotor_thrust.rotor_thrust', 'rotor.output_struc.Fxyz_total']

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant