BIM to BEM
Generate analytical panels, spaces, shells, and adjacency clusters from Revit, Rhino, and Grasshopper workflows.
SAM (Sustainable Analytical Model) is an open-source .NET toolkit that turns Revit and Rhino/Grasshopper geometry into reusable analytical building models — validated, attributed, and simulated with Tas as the primary engine, with psychrometric HVAC design workflows alongside.
SAM is a modular, open-source .NET/C# toolkit for creating, cleaning, enriching, exchanging, and simulating analytical building models — the watertight panels, spaces, and adjacency data that energy and HVAC simulation needs. One shared JSON analytical model carries the project from BIM geometry to results, so information is reused instead of rebuilt for every study.
Generate analytical panels, spaces, shells, and adjacency clusters from Revit, Rhino, and Grasshopper workflows.
Attribute constructions, profiles, internal conditions, openings, and systems before connecting to Tas and results workflows.
Use JSON-based analytical objects, validation routines, and extension modules to test repeatable methods across projects and papers.
Planar geometry, faces, shells, apertures, and boundary representations used to derive simulation-ready spaces.
Walls, floors, roofs, apertures, constructions, and thermal properties represented as analytical objects.
The relationship layer for spaces, zones, panels, and their spatial/topological connections.
The project container for geometry, location, profiles, materials, internal conditions, systems, and results.
Project inputs become one SAM analytical model, then move through validation, attribution, simulation, and HVAC comparison in a repeatable workflow.
Every capability links to the public repository that implements it. Status chips distinguish what is shipped from what is in active development — nothing in development is presented as finished.
Shipped In development Roadmap
Analytical-model generation in Revit 2020–2026 (SAM add-in and Rhino.Inside.Revit) and in Rhino 8/9 with a large Grasshopper component library. SAM_Revit · SAM_Rhino_UI
ShippedPrimary engine pathway: Tas TBD/TSD/T3D/TPD model exchange, overheating and compliance-oriented workflows (TM52, TM59, Part L), and reusable plant-room (EnergyCentre) templates for automated HVAC scenario comparison. SAM_Tas · SAM_Systems
ShippedMoist-air calculations, Mollier chart plotting, air-process loads, and concept-stage HVAC exploration — numerically validated against published reference data (ASHRAE, PsychroLib, IAPWS). SAM_Mollier · SAM_Validation
ShippedIFC, gbXML, IES VE GEM, BHoM, and Excel import/export, plus bidirectional Honeybee schema 2.6 round-trip exchange for Ladybug Tools workflows. SAM_IFC · SAM_gbXML · SAM_LadybugTools
ShippedFour Windows desktop apps — SAM Analytical, SAM Analytical Mollier, SAM Geometry, and SAM Weather — for model inspection, psychrometric design, geometry work, and weather data. SAM_UI
ShippedPanels, spaces, apertures, adjacency clusters, profiles, materials, internal conditions, and systems in a single JSON model, scriptable from Grasshopper. SAM
ShippedAn Open Cascade geometry kernel inside SAM: sewing and healing of open shells into watertight solids, booleans, STEP/IGES exchange, cell complexes, and a 3D solver — with tests and CI, not yet wired into the SAM core model. SAM_OCCT
In developmentDirect SAM-to-OpenStudio model generation: geometry, constructions, schedules, and thermostats with ideal-air loads (airside and plant HVAC not yet covered). OpenStudio remains a secondary, EnergyPlus-oriented pathway alongside Tas. SAM_OpenStudio
In developmentA new GPU-accelerated viewport for the desktop apps, replacing HelixToolkit, with undo/redo support across the interface. SAM_UI
In developmentConnecting SAM_Systems plant-room schematics with Mollier psychrometric processes for air-handling and plant design workflows. SAM_Systems
In developmentSAM supports engineering workflows that contribute to assessment methods. Compliance still depends on the complete project methodology and toolchain.
Platform stages follow the published research line. SAM 4.0 and 5.0 are future directions; SAM_Mollier develops in parallel as a module, not a platform version.
Geometry creation, multi-method model generation, adjacency clusters, shell creation, and watertight boundary preparation. Shipped
Loads, attribution, material/profile/internal-condition libraries, dynamic simulation connectors, and BIM-to-BEM research validation. Shipped
Reusable HVAC system generation, JSON system references, Tas EnergyCentre templates, automated scenario execution, and result extraction. Shipped
Psychrometric points, Mollier and psychrometric charts, air processes, HVAC loads, and concept-stage system exploration.
Controls and control-strategy testing for HVAC system operation and scenario analysis. Roadmap
Digital twin direction: an updatable building representation with geometry, systems, assumptions, results, and project data. Roadmap
Public repositories, grouped by their role in the analytical workflow. Modules that are currently private return here once they are public.
Current installer releases are managed through the SAM_Deploy repository.
SAM is developed in the open and published through peer-reviewed building-simulation venues. Publications are listed with DOI or proceedings links where available; author profiles on ResearchGate carry the full list.
Numerical quality: psychrometric and steam-property calculations are tested against published reference data — ASHRAE Fundamentals tables, PsychroLib, and IAPWS-IF97 — in the public SAM_Validation suite.
M. Dengusiak, J. Ziolkowski, M. Dengusiak. BSA 2026.
SAM 3.0HVAC automationTasPresented at BSA 2026 (Bozen-Bolzano, June 2026); proceedings forthcoming.
M. Dengusiak, J. Ziolkowski. CESBP 2025, Lecture Notes in Civil Engineering 795, Springer 2026.
BIM to BEMRevitWatertight modelsM. Dengusiak, J. Ziolkowski. CESBP 2025, Lecture Notes in Civil Engineering 796, pp. 693–708, Springer 2026.
SAM_MollierPsychrometricsHVACM. Dengusiak, J. Ziolkowski, M. Dengusiak. BSA 2024, Bozen-Bolzano University Press 2025.
SAM 2.0SimulationOpen sourceM. Dengusiak, J. Ziolkowski. ISHVAC 2021.
Energy modelsOpen sourcePsychrometric and Mollier analysis publication.
MollierPsychrometric analysisBILT Europe 2018 talk.
TalkMEP workflowFull and up-to-date list: ResearchGate - Michal Dengusiak.
Company: SAM-BIM on LinkedIn
Commercial services, training, and bespoke workflows are available through SAM-BIM.