NOMOS (Invariant Engine): Simulation Guide

Overview

NOMOS is a general-purpose agent-based modeling simulation engine designed for worldbuilding in intellectual properties. The engine is theme-agnostic, supporting Bronze Age, modern, and sci-fi settings. It simulates emergent economic systems, social dynamics, and agent behaviors through a closed-loop architecture. All items are generated from a material layer, which is based on a set of rules and parameters; all goods are items; all materials are composed of elements.

Nomos Complete Pipeline


System Architecture

The pipeline flows:

  1. Stochastic Core — SpectralFlux (pink noise RNG) for natural variance
  2. Material Layer — 55 Elements → Compounds → Material Compositions → Items (Alchemy, Craftsmanship, Quality Tiers, Condition/Degradation)
  3. Agent Layer — PICK+E attributes, Aspects (Vices/Virtues), Attractor Engine, AgentNeeds, JobRole, WoD Module (opt)
  4. Social Layer — Person → Household → Polity → Realm. Governance, Policy, Taxes/Welfare, Licensing. Scale-agnostic (Neighborhood → Empire)
  5. Economic Layer — Vendors, Production Pipelines, Monetary System, Markets, Trade, Economy Planner
  6. Spatial Layer — HexGrid (Hierarchical Zones), World, Celestial Mining
  7. Simulation Tick — SimState → SimTickManager → Base-12 Time

Core Abstractions

PICK+E (Agent Attribute Model)

The PICK+E system defines agent capabilities, derived from the Terminium Compendium PnP RPG.

LetterAttributeDescriptionSimulation Impact
PPhysiqueBody health, strengthHP (PHY×10), labor capacity
IIntuitionPerception, stress toleranceMarket trust, vendor selection
CCognitionLogic, puzzles, knowledgeBusiness acumen, skill scaling
KKinesthesiaDexterity, motor controlCraftsmanship quality
EExistenceGODLIVING or GODLESSMetaphysical alignment, magic potential

Power Tiers (N-Levels):

TierRangeDescription
N0–N28–512Normal encounters
N34096Greater bosses, party required
N4+32768+Mythic/Divine, special requirements

Attractor Engine (Behavioral Drivers)

Driver TypeSourceExamples
Main DriverDivinity/DestinyApollo→Truth, Ares→Conflict
Sub DriverHobby/InterestArt, Commerce, Science
NoneSurvival baselinePure need satisfaction

Driver strength is configurable globally (CSV) or per-agent, affecting behavior priorities.

Aspects (Vices & Virtues)

Data-driven personality system loaded from CSV:


Model Architecture

Each simulation is driven by a model directory (data/model/{name}/) containing a core.ini configuration file. Models represent different IPs, eras, or fictional universes while sharing the engine infrastructure.

This engine supports the Terminium Compendium worldbuilding:


Simulation Tick Architecture

Base-12 Time System

UnitTicksDescription
Tick1Smallest unit
Moment1212 ticks
Period14412² ticks
Cycle1,72812³ ticks (≈1 day)
Epoch20,73612⁴ ticks

Resources