"""AMESim-compatible public component library.""" from app.simulation.core.catalog import ( ComponentCategorySpec, ComponentLibrarySpec, ) LIBRARY = ComponentLibrarySpec( id="amesim", label="AMESim 组件库", version="0.1.0", source_package="app.simulation.components.amesim", temporary=True, order=200, categories=( ComponentCategorySpec(id="storage", label="储能元件", order=10), ComponentCategorySpec(id="flow", label="流动元件", order=20), ComponentCategorySpec(id="junctions", label="连接元件", order=30), ComponentCategorySpec(id="boundary", label="边界元件", order=40), ), models=( "app.simulation.components.amesim.boundary.sources:AmesimPnpl01", "app.simulation.components.amesim.storage.chambers:AmesimPnch023", "app.simulation.components.amesim.flow.orifices:AmesimPnor001", "app.simulation.components.amesim.flow.orifices:AmesimPnvo001FixedOpening", "app.simulation.components.amesim.flow.pipes:AmesimPnl00r", "app.simulation.components.amesim.junctions.nodes:AmesimPn3Node2", "app.simulation.components.amesim.junctions.nodes:AmesimP4Node2", ), )