concreteproperties.results.MomentInteractionResults#
- class MomentInteractionResults(results: ~typing.List[~concreteproperties.results.UltimateBendingResults] = <factory>, results_neg: ~typing.List[~concreteproperties.results.UltimateBendingResults] = <factory>)[source]#
Bases:
object
Class for storing moment interaction results.
- Variables
results (List[
UltimateBendingResults
]) – List of ultimate bending result objectsresults_neg – List of ultimate bending result objects (for negative bending)
Methods
Returns a list of axial forces and moments.
Plots a moment interaction diagram.
Plots multiple moment interaction diagrams.
Determines whether or not the combination of axial force and moment lies within the moment interaction diagram.
Attributes
results
results_neg
- get_results_lists(neg=False) Tuple[List[float]] [source]#
Returns a list of axial forces and moments.
- Parameters
neg (bool) – If True, gets the negative bending results
- Returns
List of axial forces and moments (n, m)
- Return type
Tuple[List[float]]
- plot_diagram(n_scale: Optional[float] = 0.001, m_scale: Optional[float] = 1e-06, fmt: Optional[str] = 'o-', **kwargs) matplotlib.axes.Axes [source]#
Plots a moment interaction diagram.
- Parameters
n_scale (Optional[float]) – Scaling factor to apply to axial force
n_scale – Scaling factor to apply to axial force
fmt (Optional[str]) – Plot format string
kwargs – Passed to
plotting_context()
- Returns
Matplotlib axes object
- Return type
- static plot_multiple_diagrams(moment_interaction_results: List[MomentInteractionResults], labels: List[str], n_scale: Optional[float] = 0.001, m_scale: Optional[float] = 1e-06, fmt: Optional[str] = 'o-', **kwargs) matplotlib.axes.Axes [source]#
Plots multiple moment interaction diagrams.
- Parameters
moment_interaction_results (List[
MomentInteractionResults
]) – List of moment interaction results objectslabels (List[str]) – List of labels for each moment interaction diagram
n_scale (Optional[float]) – Scaling factor to apply to axial force
m_scale (Optional[float]) – Scaling factor to apply to bending moment
fmt (Optional[str]) – Plot format string
kwargs – Passed to
plotting_context()
- Returns
Matplotlib axes object
- Return type
- point_in_diagram(n: float, m: float) bool [source]#
Determines whether or not the combination of axial force and moment lies within the moment interaction diagram.
- Parameters
n (float) – Axial force
m (float) – Bending moment
- Returns
True, if combination of axial force and moment is within the diagram
- Return type
bool