aboutsummaryrefslogtreecommitdiff
path: root/src/bin/cli.rs
blob: 2dae8ec612e1e9d2bdb5f15462e28790deb38912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use hiccup::{SimUpdate::*, SimUpdates, Simulation};

fn main() {
    let mut sim = Simulation::new(390_000., 0.028, 30);
    let updates: SimUpdates = Amortize(12_000.).every(12).and(Amortize(30_000.).at(1))
        .and(SetI1(0.01).at(10));

    // let mut sim = Simulation::new(200_000., 0.01621, 30);
    // let updates: SimUpdates = SimUpdates::default();

    sim.run(updates);
    sim.render_table();
}