You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: engforge/component_collections.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
"""define a collection of components that will propigate to its parents dataframe
2
2
3
-
When `wide` is set each component's references are reported to the system's table, otherwise only one component's references are reported, however the system will iterate over the components by calling `system.iterable_components`
3
+
When `wide` is set each component's references are reported to the system's table, otherwise only one component's references are reported, however the system will iterate over the components by calling `system.iterable_components`
4
4
5
5
Define a Iterable Component slot in a system by calling `Slot.define_iterable(...,wide=True/False)`
6
6
7
7
CostModel isonly supported in wide mode at this time.
Copy file name to clipboardExpand all lines: engforge/dynamics.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
#TODO: The top level system will collect the underlying dynamical systems and combine them to an index and overall state space model. This will allow for the creation of a system of systems, and the ability to create a system of systems with a single state space model.
10
10
11
-
#TODO: integration is done by the solver, where DynamicSystems have individual solver control, solver control is set for a smart default scipy
11
+
#TODO: integration is done by the solver, where DynamicSystems have individual solver control, solver control is set for a smart default scipy
Copy file name to clipboardExpand all lines: engforge/eng/costs.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@
4
4
5
5
CostModel's can have cost_property's which detail how and when a cost should be applied & grouped. By default each CostModel has a `cost_per_item` which is reflected in `item_cost` cost_property set on the `initial` term as a `unit` category. Multiple categories of cost are also able to be set on cost_properties as follows
6
6
7
-
Cost Models can represent multiple instances of a component, and can be set to have a `num_items` multiplier to account for multiple instances of a component. CostModels can have a `term_length` which will apply costs over the term, using the `cost_property.mode` to determine at which terms a cost should be applied.
7
+
Cost Models can represent multiple instances of a component, and can be set to have a `num_items` multiplier to account for multiple instances of a component. CostModels can have a `term_length` which will apply costs over the term, using the `cost_property.mode` to determine at which terms a cost should be applied.
8
8
9
9
```
10
10
@forge
11
11
class Widget(Component,CostModel):
12
-
12
+
13
13
#use num_items as a multiplier for costs, `cost_properties` can have their own custom num_items value.
0 commit comments