Skip to content

Central Government API Reference

This section documents the Central Government agent in the macromodel package, which represents the central fiscal authority responsible for taxation, spending, and fiscal policy.

macromodel.agents.central_government.central_government.CentralGovernment

Central Government agent responsible for fiscal policy and social benefits.

This class implements government fiscal operations including: - Tax collection (VAT, income, corporate, etc.) - Social benefit distribution (unemployment, other transfers) - Public finance management (revenue, deficit, debt)

The agent manages multiple tax instruments: - Value-added Tax (VAT) - Income Tax - Corporate Tax - Social Insurance Contributions - Export and Capital Formation Taxes

Attributes:

Name Type Description
functions dict[str, Any]

Mapping of function names to implementations

states dict[str, float | ndarray]

Current state variables including tax rates and benefit models

ts TimeSeries

Time series data for government variables