test/examples/demonstrator_2.rb in y_petri-2.2.4 vs test/examples/demonstrator_2.rb in y_petri-2.3.2
- old
+ new
@@ -1,6 +1,11 @@
#encoding: utf-8
+# This file demonstrates execution with values of SY::Magnitude type
+# (ie. values with assigned physical units). It works, but the execution
+# is slow and the recording is not fully adapted to the use of physical
+# units yet.
+
require 'y_petri'
include YPetri
require 'sy'