ConstantBlock cte_k {
    value = 1
}

ConstantBlock cte_g {
    value = 10
}

ConstantBlock cte_m {
    value = 1
}

ConstantBlock cte_v0 {
    value = 1
}

ConstantBlock cte_y0 {
    value = 20
}

MultiplyBlock m0 {}
MultiplyBlock m1 {}
MultiplyBlock m2 {}
NegatorBlock n0 {}
InverseBlock i0 {}
AdditionBlock a0 {}
IntegratorBlock int0 {}
IntegratorBlock int1 {}

ProbeBlock pv {
    name = "velocity"
}
ProbeBlock py {
    name = "displacement"
}

Link (cte_k, m0) {}
Link (int1, m0) {}
Link (cte_g, m1) {}
Link (cte_m, m1) {}
Link (cte_m, i0) {}
Link (m0, n0) {}
Link (n0, a0) {}
Link (m1, a0) {}
Link (i0, m2) {}
Link (a0, m2) {}
Link (m2, int0) {}
Link (int0, int1) {}

InitialCondition (cte_v0, int0) {}
InitialCondition (cte_y0, int1) {}

Link (int0, pv) {}
Link (int1, py) {}
