Coupling interface between the DBN and metabolic network ODEs. Provides a clean interface for bidirectional data exchange.

Usage in the virtual cell simulation loop:

Dim coupler As New DBNODECoupler(dbn) For Each timeStep In simulation ' ODEs -> DBN: pass metabolite and TF abundances Dim result = coupler.Step(metaboliteConcentrations, tfAbundances)

' DBN -> ODEs: get transcription rates for ODE integration Dim transcriptionRates = coupler.GetRNATranscriptionRates(result)

' Use transcriptionRates in ODE solver: dR/dt = k_syn rate - k_deg R ... integrate ODEs for one time step ... Next