LumpedMassControl

class sharpy.generators.modifystructure.LumpedMassControl[source]

Lumped Mass Control Class

This class is instantiated when at least one lumped mass is modified.

It allows control over unchanged lumped masses and calls the method to execute the change.

lumped_mass_variables

List of integers containing the indices of the variables to change. These indices

Type

list

refer to the order in which they are provided in the general settings for the generator.
static execute_change(structure)[source]

Executes the change in the lumped masses.

Called only once per time step when all the changed lumped mass variables have been processed.

set_unchanged_vars_to_zero(structure)[source]

Sets the lumped masses variables of unchanged lumped masses to zero.

This is to avoid the lumped mass changing during execution

Parameters

structure (sharpy.structure.models.beam.Beam) – SHARPy structure object