create_default_pipeline#
- bamengine.core.pipeline.create_default_pipeline(max_M, max_H, max_Z)[source]#
Create default BAM simulation event pipeline.
Loads the pipeline from config/default_pipeline.yml and substitutes market round parameters (max_M, max_H, max_Z).
The pipeline uses batch matching for labor and credit markets:
labor_market_roundrepeatedmax_Mtimes andcredit_market_roundrepeatedmax_Htimes. The goods market usesgoods_market_roundwhich handles all visits internally.- Parameters:
- Returns:
Default BAM pipeline with all events in correct order.
- Return type:
Notes
This function creates the “canonical” BAM pipeline. Users can modify it using insert_after(), remove(), replace() methods, or create their own pipeline from a custom YAML file using Pipeline.from_yaml().