Analysis
- class compas_tno.analysis.Analysis(name='Analysis')[source]
Bases:
compas.data.data.Data
The
Analysis
class unites theFormDiagram
, theShape
and theOptimiser
to compute the optimisation.Examples
>>> from compas_tno.analysis import Analysis >>> from compas_tno.shapes import Shape >>> from compas_tno.diagrams import FormDiagram >>> arch = Shape.create_arch() >>> form = FormDiagram.create_arch() >>> analysis = Analysis.create_minthrust_analysis(form, arch)
Methods
Invoke method to apply bounds on the force densities of the pattern (qmax, qmin)
Apply cracks on the nodes (key) and in the positions up / down
Invoke method to apply ub and lb to the nodes based on the shape's intrados and extrados
_summary_
Apply ub and lb to the nodes based on the shape's intrados and extrados and in the intra/extra damaged
Apply a multiplier on the selfweight to the nodes of the form diagram based
Apply limit thk to be respected by the anchor points
Invoke method to apply selfweight to the nodes of the form diagram based on the shape
Apply selfweight to the nodes considering a different Form Diagram to locate loads.
Apply target to the nodes based on the shape's target surface
Clear Previous results stored in the Analysis object.
Create a bestfit analysis from the elements of the problem (form and shape)
Create a complementary energy analysis from the elements of the problem (form and shape)
Create a minimum thickness analysis from the elements of the problem (form and shape)
Create a minimum thickness analysis from the elements of the problem (form and shape)
Create a maximum thickness analysis from the elements of the problem (form and shape)
Create a minimum thickness analysis from the elements of the problem (form and shape)
Create a minimum thickness analysis from the elements of the problem (form and shape)
Create a complementary energy analysis including a quadratic term from the elements of the problem (form and shape)
Create a analysis from the elements of the problem (form, shape and optimiser)
Create a analysis from the elements of the problem (form and optimiser)
Create a analysis from the elements of the problem (form and shape)
Check if the analysis problem is convex.
With the data from the elements of the problem compute the matrices for the optimisation
Set the additional options of the optimisation.
With the data from the elements of the problem compute the matrices for the optimisation
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an object of this type from the provided data.
Construct an object from serialized data contained in a JSON file.
Construct an object from serialized data contained in a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation.
Serialize the data representation of an object to a JSON file.
Serialize the data representation of an object to a JSON string.
Validate the object's data against its data schema.
Validate the object's data against its json schema.