Quickstart¶
Open the supplied portfolio model, find the portfolio decision in its source, and trace one of its operations in the diagram. You need a Workbench installation and a Bellman checkout containing the example.
1 Open the example¶
In the desktop app, choose File → Open Project… and open applications/cons-port inside the Bellman checkout. For the browser version, activate the Python environment used to install Workbench and run this command from the checkout:
The Trellis view opens on spec.cons-port.yml, the recipe with consumption before portfolio choice. A stage describes one part of the problem, such as allocating wealth to assets. A trellis arranges the stages across periods and connects the quantities they exchange.
2 Open a stage¶
- In Files, expand
declaration/stages/portand selectport.bl. If the file tree is folded, select Files in the top bar. - Choose Stage above the diagram if the Trellis view is still selected. The editor shows the portfolio stage alongside its diagram.
- Select Forward under Direction and Operator under Graph. In the
dcsn_to_cntnframe, select𝑔≻∗μ, the operation that applies the law of motion to a distribution. Use Fit at the foot of the graph if the frame is out of view. - In Details, follow the source link to the law of motion for
w, the resources carried forward after returns and income. Open Parameters under the editor to find the gross safe returnRand the calibration file that supplies it.
The path at the top identifies the recipe and the period you are reading. In this model, periods[0] is the terminal period.
3 Check the reading¶
Use Problems above the diagram to see what Workbench could not read or connect. Select a problem to locate the source when a location is available. The model’s equations specify the economic problem. Seeing its diagram confirms that Workbench can display a reading of those equations. A numerical solution is a separate step in the modelling workflow.
Continue with Inspect a model to read a stage in a particular period or Create and connect stages to start your own project.
