Skip to content
plexosdb
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Menu
Getting started
Installation
Tutorial
Build a PLEXOS database
How-to guides
Overview
Create a database
Add objects
Add properties
Add attributes
Add reports
Delete objects
Query a database
Work with scenarios
Import and export
Validate a database
Manage relationships
Copy objects
Bulk operations
Remove non-ASCII text
Inspect a solution
Read a solution
MCP server
Reference
Python API
Overview
ClassEnum
ClassEnum
System
Generator
Fuel
Battery
Storage
Emission
Reserve
Region
Zone
Node
Line
Transformer
Interface
DataFile
Timeslice
Scenario
Model
Horizon
Report
PASA
MTSchedule
STSchedule
Transmission
Diagnostic
Production
Performance
Variable
Constraint
Purchaser
CollectionEnum
CollectionEnum
Generators
Fuels
HeadStorage
TailStorage
Nodes
Storages
Emissions
Reserves
Batteries
Regions
Zones
Region
Zone
Lines
NodeFrom
NodeTo
Transformers
Interfaces
Models
Scenario
Scenarios
Horizon
Horizons
Report
Reports
ReferenceNode
PASA
MTSchedule
STSchedule
Transmission
Production
Diagnostic
Diagnostics
Performance
DataFiles
Constraint
Constraints
Variables
Purchasers
DatabaseValidationCategory
DatabaseValidationCategory
SQLITE
FOREIGN_KEYS
SCHEMA
OBJECTS
MEMBERSHIPS
ATTRIBUTES
PROPERTIES
TYPES
DatabaseValidationError
DatabaseValidationError
DatabaseValidationFinding
DatabaseValidationFinding
category
message
DuckDBResult
DuckDBResult
database
tables
is_in_memory
DuckDBSchema
DuckDBSchema
DuckDBSolutionInfo
DuckDBSolutionInfo
database
source
model_name
converter_version
IfExists
IfExists
PeriodEnum
PeriodEnum
INTERVAL
DAY
WEEK
MONTH
YEAR
HOUR
QUARTER
PhaseEnum
PhaseEnum
LT
PASA
MT
ST
PlexosDB
PlexosDB
version
from_xml
add_attribute
add_band
add_category
add_custom_column
add_datafile_tag
add_membership
add_memberships_from_records
add_metadata
add_object
add_objects
add_properties_from_records
add_attributes_from_records
add_property
add_scenario
add_report
add_text
add_time_slice
add_variable_tag
backup_database
copy_object
copy_object_memberships
create_object_scenario
create_schema
delete_attribute
delete_category
delete_membership
delete_metadata
delete_object
delete_property
delete_text
get_attribute
get_attribute_id
get_attributes
get_category_id
get_category_max_id
get_class_id
get_collection_id
get_config
get_custom_columns
get_membership_id
list_object_memberships
get_memberships_system
get_metadata
get_object_data_ids
get_object_properties
get_object_id
get_objects_id
get_plexos_version
get_property_id
get_property_unit
get_scenario_id
get_text
get_unit
has_properties
import_from_csv
iterate_properties
list_attributes
list_categories
list_child_objects
list_classes
list_collections
list_objects_by_class
list_parent_objects
list_reports
list_scenarios
list_models
list_scenarios_by_model
list_units
list_valid_properties
list_valid_properties_report
query
set_config
set_date_range
to_csv
to_xml
update_attribute
update_category
update_object
update_properties
update_property
update_scenario
update_text
validate_value_by_rule
validate_database
PlexosSolution
PlexosSolution
_zip_path
_model_name
_database_path
_connection
from_zip
to_duckdb
info
list_tables
sql
query
query_dicts
table
list_objects_by_class
list_result_tables
result_table
get_result
connection
close
PropertyRecord
PropertyRecord
ResultSchema
ResultSchema
ResultTable
ResultTable
name
schema
phase
period
class_enum
collection
property_name
table_type
value_column
SQLiteRecord
SQLiteRecord
SQLiteValue
SQLiteValue
TableInfo
TableInfo
name
schema
table_type
TableTypeEnum
TableTypeEnum
BASE_TABLE
VIEW
ValidationResult
ValidationResult
is_valid
error_message
XMLHandler
XMLHandler
parse
create_table_element
get_records
iter
to_xml
XMLRecord
XMLRecord
XMLValue
XMLValue
Module guides
Checks
DuckDB solution
Enumerations
Exceptions
PlexosDB
SQLite solution reader
SQLite manager
Utilities
XML handler
PLEXOS attribute tables
Model
Production
Performance
Transmission
PASA
Diagnostics
Horizon
MT schedule
ST schedule
LT plan
Changelog
GitHub
Select theme
Dark
Light
Auto
SQLiteRecord
Source
Import
Section titled “Import”
from
plexosdb
import
SQLiteRecord
Definition
Section titled “Definition”
SQLiteRecord: TypeAlias = dict[str, SQLiteValue]