symbrim.bicycle.tires.TireBase¶
- class symbrim.bicycle.tires.TireBase(name: str)¶
Bases:
ConnectionBase
Base class for the tire model connectors.
Attributes
Auxiliary data handler of the model.
Point representing the contact point of the wheel with the ground.
Descriptions of the attributes of the object.
Submodel of the ground.
Lateral axis of the wheel.
Load groups of the connection.
Longitudinal axis of the wheel.
Name of the object.
Boolean whether the wheel is already defined as touching the ground.
required_models
Submodels of the connection.
System object used to store the information of the model itself.
Wheel radial axis pointing upward from the contact point to the wheel center.
Submodel of the wheel.
Methods
Create a new instance of the connection.
Add load groups to the connection.
Define the constraints on the connection.
Define the kinematics of the connection.
Define the loads on the connection.
Define the objects in the connection.
Get all declared symbols of a model.
Get description of a given object.
Get a parameters mapping of a model based on a bicycle parameters object.
Set the symmeplot plot objects.
- __init__(name: str) None ¶
Create a new instance of the connection.
- Parameters:
name (str) – Name of the connection.
- __weakref__¶
list of weak references to the object (if defined)
- add_load_groups(*load_groups: LoadGroupBase) None ¶
Add load groups to the connection.
- property auxiliary_handler: AuxiliaryDataHandler | None¶
Auxiliary data handler of the model.
- get_param_values(bicycle_parameters: Bicycle) dict[Symbol, float] ¶
Get a parameters mapping of a model based on a bicycle parameters object.
- property ground: GroundBase¶
Submodel of the ground.
- property load_groups: tuple[LoadGroupBase]¶
Load groups of the connection.
- set_plot_objects(plot_object: MplPlotBase) None ¶
Set the symmeplot plot objects.
- property system: System | None¶
System object used to store the information of the model itself.
Notes
This system object is used to store the information of the model itself. It does not by definition contain any information about the submodels or connections. Therefore, one cannot use this system object to form the equations of motion. Instead, one should use the
to_system()
method to get the system object representing the entire model.
- property upward_radial_axis: Vector¶
Wheel radial axis pointing upward from the contact point to the wheel center.
Explanation
To possibly simplify the equations of motion, one can overwrite the axis used to compute the location of the contact point with respect to the wheel center. This axis should be normalized. For a knife-edge wheel, one could express the vector from the wheel center to the contact point of the ground as
wheel.radius * upward_radial_axis
.