v0.6.1
New in this release:
- new feature for model variables that don’t aggregate,
- eliminated redundant warnings for non-git repository folders,
- enhanced and updated the documentation.
New feature:
Now, users can specify the aggregation_type
for variables.
Default behaviour:
All results are summed automatically.
@variable()
def my_variable(t):
# code
This is equivalent to explicitly defining aggregation as sum:
@variable(aggregation_type="sum")
def my_variable(t):
# code
This default behavior suits most financial scenarios involving cash flows like premiums and expenses.
Additional customization:
Users can now specify variables where results are sourced only from the first model point:
@variable(aggregation_type="first")
def my_variable(t):
# code
This configuration ensures that only the results from the first model point are included.
Suitable for containing results like interest rate curves or projection years.