Skip to content

Government Entities API Reference

This section documents the Government Entities agent in the macromodel package, which represents government agencies and institutions involved in economic management and regulation.

macromodel.agents.government_entities.government_entities.GovernmentEntities

Government entities that consume and invest in the economy.

This class represents multiple government organizations that participate in economic activity through consumption and investment. It manages: - Consumption planning and execution - Price-adjusted spending - Growth and inflation expectations - Emissions tracking from consumption - Multiple entity coordination

The entities operate as buyers in goods markets with: - Consumption targets based on economic conditions - Price level adjustments - Growth and inflation expectations - Historical consumption patterns - Optional emissions tracking

Attributes:

Name Type Description
functions dict[str, Any]

Function implementations for operations

states dict[str, Any]

State variables including consumption models

ts TimeSeries

Time series data tracking consumption and emissions