Architecture
ADORE Architecture data model (UML), click to enlarge:
Architecture
adore.api.schema.adore_schema.Architecture
Represents an architecture instance, as derived from the architecture design space by taking architecture choices. Can be either derived manually, or from a design problem (in this case the design problem is referenced).
design_vars
design_vars: Optional[List[Union[ArchDiscreteDesignVar, ArchContinuousDesignVar]]] = design_vars
eval_duration_sec
Duration of architecture evaluation (seconds)
eval_time_end
End of architecture evaluation (ISO8601 timestamp)
eval_time_start
Start of architecture evaluation (ISO8601 timestamp)
feasible
An architecture is valid if all functions are fulfilled and all port connections have been made according to their connection specifications.
final
An architecture is final if there all choices have been taken and all design variables have been set.
perf_evaluated
Whether or not the performance of this architecture has been evaluated.
perf_feasible
Whether or not the evaluated performance is feasible when taking optimization constraints into account. If undefined if the performance has not been evaluated.
adore.api.schema.adore_schema.ArchSystem
A architecture system as derived from a design space system object.
element_id
Reference to the design space element that forms the basis of this architecture element.
adore.api.schema.adore_schema.ArchSystemContext
The architecture system context, or external environment, derived from the design space system context.
element_id
Reference to the design space element that forms the basis of this architecture element.
System Elements
adore.api.schema.adore_schema.ArchFunction
A function instance, derived from a design space function.
boundary_function
Whether the function is a boundary function or not.
element_id
Reference to the design space element that forms the basis of this architecture element.
adore.api.schema.adore_schema.ArchComponent
A component instance, derived from a design space component.
element_id
Reference to the design space element that forms the basis of this architecture element.
adore.api.schema.adore_schema.ArchComponentInstance
A component instance linked to an architecture component.
attributes
attributes: List[ArchAttribute] = attributes
Attributes assigned to this component instance. Note that component attributes (as opposed to component instance attributes) are also assigned to the component instances.
element_id
Reference to the design space element that forms the basis of this architecture element.
input_ports
input_ports: List[ArchPortInstance] = input_ports
The input port instances of this component instance.
output_ports
output_ports: List[ArchPortInstance] = output_ports
The output port instances of this component instance.
adore.api.schema.adore_schema.ArchQOI
An architecture Quantity Of Interest, derived from a design space QOI.
element_id
Reference to the design space element that forms the basis of this architecture element.
adore.api.schema.adore_schema.ArchAttribute
An architecture component attribute, derived from a design space component attribute. Its assigned values are defined as primitives rather than as attribute value objects.
element_id
Reference to the design space element that forms the basis of this architecture element.
adore.api.schema.adore_schema.ArchPortInstance
A component port instance, derived from a design space port connection. Assigned to either the input or output ports of a component instances.
element_id
Reference to the design space element that forms the basis of this architecture element.
adore.api.schema.adore_schema.ArchPort
A port instance, derived from a design space port.
adore.api.schema.adore_schema.ArchConcept
A concept instance, derived from a design space concept.
element_id
Reference to the design space element that forms the basis of this architecture element.
adore.api.schema.adore_schema.ArchDecomposition
A decomposition instance, derived from a design space decomposition.
element_id
Reference to the design space element that forms the basis of this architecture element.
adore.api.schema.adore_schema.ArchNonFulfillment
A non-fulfillment instance, derived from a design space non-fulfillment.
element_id
Reference to the design space element that forms the basis of this architecture element.
adore.api.schema.adore_schema.ArchMultiFulfillment
A multi-fulfillment instance, derived from a design space multi-fulfillment.
element_id
Reference to the design space element that forms the basis of this architecture element.
Design Problem Elements
adore.api.schema.adore_schema.ArchObjective
An instance of an objective used in the containing architecture instance. The value is set if the performance has been evaluated.
adore.api.schema.adore_schema.ArchConstraint
An instance of a constraint used in the containing architecture instance. The value is set if the performance has been evaluated.
adore.api.schema.adore_schema.ArchDiscreteDesignVar
An instance of a discrete design variable used in the containing architecture instance. The option index is the one used for deriving this architecture and evaluating its performance.
adore.api.schema.adore_schema.ArchContinuousDesignVar
An instance of a continuous design variable used in the containing architecture instance. The value is the one used for deriving this architecture and evaluating its performance.
Types
adore.api.schema.adore_schema_defs.ArchBaseSystem
ArchBaseSystem = Union[ArchSystem, ArchSystemContext]
adore.api.schema.adore_schema_defs.ArchElement
ArchElement = Union[ArchBaseSystem, ArchFunction, ArchConcept, ArchDecomposition, ArchComponent, ArchComponentInstance, ArchQOI, ArchPortInstance, ArchPort, ArchAttribute, ArchNonFulfillment, ArchMultiFulfillment]
adore.api.schema.adore_schema_defs.ArchDesignVar
ArchDesignVar = Union[ArchDiscreteDesignVar, ArchContinuousDesignVar]
