pub const EXCT_30_CONFIG: &str = "# Festo EXCT-30 T-gantry, Y stroke 1000 mm, Z stroke 250 mm, driven directly (no gearbox) by two\n# Siemens SIMOTICS S-1FK2205-4AF motors on SINAMICS S210 converters 6SL3210-5HE11-5UF0 at 400 V.\n# Use with `--config`. The X axis of the simulator is Festo\'s Y axis.\n#\n# Where a value comes from:\n# [catalogue] taken or derived from catalog/festo/belt_axes.csv or catalog/siemens/*.csv; the test\n# `exct_30_config_agrees_with_the_catalogue` holds these in place\n# [estimate] not published; a guess of the right order, with a low and a high bound in [bounds]\nformat_version = 1\n# Obstacles in the work area, boxes along the axes of the 3D view (see docs/config-reference.md), e.g.\n# obstacles = [{ name = \"fixture\", centre_m = [0.677, -0.05, -0.65], size_m = [0.1, 0.2, 0.1] }]\n# (under the middle of the traverse, 221 mm below the payload: `collision` passes at profile.min_clearance_m 0.17)\n# or as [[obstacles]] tables at the end of the file. None by default.\nobstacles = []\n\n[sim]\ndt_s = 62.5e-6\nsubsteps = 4\n\n# Parts by name from the catalogue in catalog/: a motor by its article number, with the supply its data\n# is for (\"230v\" or \"400v\" for the S210 data, \"s120\" for the motor on a SINAMICS S120), and a gearbox as\n# size-frame-ratio, e.g. \"NRK070-04-5\". A drive (S210 converter or S120 Motor Module) by its article number\n# sets ratings.drive_rated_current_a and drive_max_current_a; a belt as profile-width, e.g. \"AT5-25\" (Megadyne\n# MEGALINEAR, steel cords); an axis by name, e.g. \"EXCT-30\" or \"ELZI-40\" (Festo, Bahr), sets pulley, belt,\n# moved masses and the pulley rating, and keeps the strokes. The catalogue values of a named part replace the\n# numbers this file has for it when the config is loaded. \"\" names none.\n# The motor and drive values further down are what the catalogue gives for them; they document them and\n# are what is used if the names are taken out. The axis is not named: this file\'s numbers are those\n# `axis = \"EXCT-30\"` gives (the test `an_axis_by_name_gives_the_numbers_of_the_hand_written_exct_30` holds them),\n# and naming it would set the carriage to the mass fitted to Festo\'s torque formula once more, to a few grams.\n[parts]\nmotor = \"1FK2205-4AF\"\nmotor_supply = \"400v\"\n# Motor options: the holding brake (its inertia and weight) and the encoder (\"\" keeps drive.encoder_counts_per_rev;\n# \"AS22DQC\", \"AM22DQC\", for a 1FT2 also the 26-bit \"AS26DQC\", \"AM26DQC\").\nmotor_brake = false\nmotor_encoder = \"\"\ngearbox = \"\"\ndrive = \"6SL3210-5HE11-5UF0\"\nbelt = \"\"\naxis = \"\"\n\n[effects]\n# The frame or stand under the machine gives way on springs ([base]): it sways under the motors\' reactions and the\n# moving masses and takes the tool with it. Off in the shipped configs: the stiffnesses are [estimate]s.\nbase_compliance = false\n# With base_compliance, two-way: the machine feels its base\'s sway (its motors see it and hold against it) and\n# the base\'s energy is in the budget. Off: one-way, the base sways under the machine.\nbase_reaction = false\n# The Z axis bends as a cantilever from the carriage, in series with its guide\'s give (its stiffness EI in\n# [tool_flex]; with tool_flex off it only bends). Off as shipped: the stiffness is an [estimate].\nz_axis_bending = false\n# The X beam sags under the carriage and the Z axis, as a simple span between the posts ([beam]), and lowers the tool\n# by m g a^2 b^2 / (3 EI L); quasi-static. Off as shipped: the beam\'s stiffness is an [estimate].\nbeam_sag = false\n# The beam\'s first vertical mode with the carriage on it as one more coordinate w (the beam\'s deflection under the\n# carriage, [beam]): its modal mass from the beam\'s mass per metre, its stiffness the quasi-static span\'s, so that it\n# rests at the beam_sag value; a Z move\'s acceleration and the carriage\'s weight riding along the beam excite it.\n# Supersedes the quasi-static beam_sag. Off as shipped: the beam\'s mass and damping are [estimate]s.\nbeam_vertical_mode = false\ngravity = true\npayload = true\nbelt_stretch = true\nbelt_damping = true\nbelt_slack = true\nbelt_mass = true\nbelt_tooth_stiffness = false\nbelt_material_damping = false\nguide_friction = true\nload_dependent_friction = true\nmotor_friction = true\n# Direct drive: the \"gearbox\" is the coupling, with ratio 1, no backlash and no loss.\ngearbox_backlash = false\ngearbox_efficiency = false\n# The gearbox\'s no-load running torque at its input, over speed and its lubricant\'s temperature (gearbox.no_load_*):\n# gearbox.efficiency then holds at gearbox.efficiency_torque_nm and falls at part load. Off here: on in the delta\n# pickers D2 and D3, whose sizing was redone with them.\ngearbox_drag = false\n# The motor shaft\'s seals and bearings break away above their sliding level along a Stribeck curve\n# (motor.friction_breakaway_nm, friction_stribeck_rad_s).\nmotor_stiction = false\n# The gearbox\'s flanks take the load over a band beyond the backlash, with a hysteresis (gearbox.lost_motion_band_rad,\n# hysteresis_rad).\ngearbox_lost_motion = false\n# A strain wave gear\'s three-segment stiffness, K1 to T1, K2 to T2, K3 beyond (gearbox.stiffness_*). Off in the shipped\n# configs.\ngearbox_stiffness_curve = false\ntorque_ripple = true\ntooth_meshing = true\nframe_compliance = true\ntool_flex = true\n# With tool_flex: the belt\'s upper vertical runs reach the clamp tool_flex.belt_offset_m to either side of the Z axis\'s\n# line, so the guide\'s tilt lengthens one and shortens the other: their tension difference turns the lean and their\n# stretch holds it. Off: on the line, as before.\nbelt_run_offset = false\nidlers = false\ncable_chain = false\nprocess_force = false\nhard_stops = true\nholding_brake = true\n# The holding brakes engage brake.engage_delay_s after they are asked to hold (the torque off) and release\n# brake.release_delay_s after they are asked to let go; a hanging axis sags while its brake engages. Off by default, so\n# that earlier results stay as they were.\nbrake_delay = false\ntemperature = false\nvelocity_feedforward = true\ntorque_feedforward = true\n# The drive runs the position setpoint on between profile cycles from the last setpoints (pos + v t + a t^2 / 2),\n# as its speed feedforward runs on: a SINAMICS drive\'s fine interpolation, which a position loop at the speed loop\'s\n# cycle (DSC) needs once the profile cycle is longer than the position cycle. Changes nothing while they are equal.\nfine_interpolation = true\n# Friction feedforward (S120 p3820-p3839): with drive.friction_feedforward_model = \"machine\" the friction of the\n# machine\'s own model at the planned speed, else the characteristic drive.friction_feedforward_*. On: it cuts the\n# following error while moving and the settling at the pick (docs/validation.md).\nfriction_feedforward = true\n# The position loop closes on a load-side scale (S120 direct measuring system, drive.load_encoder_step) instead of\n# the motor encoder, which stays for the speed loop.\nload_encoder = false\nencoder_resolution = true\nvelocity_filter = true\ntorque_filter = true\nnotch_filter = false\ntorque_limit = true\n# The drive gives no more than its maximum output current, ratings.drive_max_current_a: the torque setpoint is held to\n# the torque of that current where it is below the motor\'s limit. Without the rating nothing is held.\ndrive_current_limit = true\n# Off here (14 November 2026): the drive\'s overload over time by its thermal image (ratings.drive_base_load_current_a,\n# drive_overload_time_constant_s, drive_max_current_time_s) and the motor\'s three thermal nodes\n# (motor.winding_resistance_share, winding_time_constant_s). On: field weakening of the d-q motor model\n# (motor.pole_pairs, d_inductance_h).\nfield_weakening = true\ndrive_overload = false\nmotor_thermal_nodes = false\n# Motor electrical and thermal model (14 November 2026). On here: field weakening above (the d-q voltage limit), the\n# stator\'s iron loss heating the motor (motor.stall_current_a) and the braking resistor\'s temperature\n# (ratings.braking_resistor_time_constant_s, braking_resistor_rated_rise_k; with dc_link only). Off: the magnets\' flux\n# over temperature (motor.magnet_temperature_coefficient_1_k).\niron_loss = true\nmagnet_temperature = false\nbraking_resistor_heating = true\n# Both on by choice, see [profile] and [axis.x].\ncorner_blending = true\ninput_shaping = true\nback_emf = true\nvoltage_limit = true\nwinding_heating = true\n# Gearboxes and guides warm with their losses (see [thermal]). Only computed and shown, unless thermal_feedback is on.\npart_heating = false\n# Guide friction and gearbox losses follow the temperatures part_heating computes, the belt\'s stiffness the ambient\n# temperature (see [thermal_feedback]). Replaces effects.temperature: its hand-set factors are not used while this is\n# on. Without part_heating the parts stay at ambient. Off by default, so that earlier results stay as they were.\nthermal_feedback = false\n# The cycle analysis measures its pass with the windings (winding_heating) and, with thermal_feedback, the parts at the\n# rises they settle at on the cycle, iterated from cold to a fixed point, not from cold. Nothing to do where nothing\n# warms back on the run.\nthermal_warm_start = true\n# The belt\'s teeth jump over a driven pulley when the effective pull there exceeds what the slack side\'s tension holds\n# in mesh (see belt.tooth_jump_factor); elastic model only. Off by default, so that earlier results stay as they were.\nbelt_tooth_jump = false\n# The first sideways mode of each free belt span, a string at its live tension, against the frequencies the drive\n# excites (tooth mesh, torque ripple, cogging); judged at steady speed against ratings.belt_span_resonance_band.\n# Signals and a check only, nothing acts back on the motion. Off by default.\nbelt_span_vibration = false\n# The teeth in mesh on each driven pulley from the angle the belt wraps it at the pose, found from the places of pulleys\n# and idlers: wrap r / tooth pitch, in place of ratings.belt_teeth_in_mesh, in the tooth-jump law and the belt\'s tooth\n# load. Off by default, so that earlier results stay as they were\n# (half a turn on both pulleys at every pose here, pi r / p = 10.0 of the 20 teeth, as configured).\nbelt_wrap = false\n# A machine file\'s gantry bridge yaws (machine.gantry, docs/machine-files.md): read by machine files only; this\n# crate has no such bridge. Off.\ngantry_yaw = false\ntorque_saturation = true\ndrive_delay = true\n# The DC link voltage rises with what the motors feed back; a chopper and a braking resistor hold it down.\n# On here, where the DC link values in [ratings] are meant for this drive and its 540 V.\ndc_link = true\n# With dc_link: the drives of the machine share one DC link (one Line Module, as on a SINAMICS S120). What a\n# braking motor feeds back, a motoring one draws. The link has the capacitance of all drives together, one\n# chopper with one braking resistor of the [ratings] powers, and one trip.\nshared_dc_link = false\n# With dc_link: a regenerative supply (an Active Line Module, as on a SINAMICS S120) holds the DC link at the bus\n# level from above too and feeds what the motors give back into the mains, up to its maximum power, instead of\n# the braking resistor. Its values are in [ratings]. Off by default, so that earlier results stay as they were.\nregenerative_supply = false\n# Off by default, so that earlier results stay as they were.\n# The motor setpoints reach the drives some profile cycles late.\nfieldbus_delay = false\n# Each frame of motor setpoints takes up to profile.fieldbus_jitter_cycles more than the delay, pseudo-random from\n# drive.noise_seed (every run the same); a late frame leaves the drives the one before. Off by default, so that\n# earlier results stay as they were.\nfieldbus_jitter = false\n# Noise on the measured position and current.\nsensor_noise = false\n# With input_shaping: the shaper is set to the resonance the machine reports for the planned pose.\nshaper_follows_pose = false\n# Obstacles push back on a part that goes into them with their contact stiffness and damping, so that the axes in\n# contact are blocked (see docs/model-reference.md). Off by default; without obstacles it changes nothing.\ncrash = false\n# The drives watch their following error, their standstill and their torque limit ([drive] fault_reaction and the\n# keys after it); one that trips stops all, each by its fault reaction. Off by default, so that earlier results\n# stay as they were.\ndrive_monitoring = false\n\n[geometry]\n# [catalogue] half the effective diameter of 31.82 mm\npulley_radius_m = 0.01591\n# [catalogue] strokes within the EXCT-30 range\nstroke_x_m = 1.0\nstroke_z_m = 0.25\n# [CAD] Festo\'s model of this gantry (8026576): its drive heads are 1354 mm apart, the stroke and twice this\nspan_min_m = 0.177\nz_com_drop_m = 0.2\nguide_spacing_m = 0.12\n# Tool tip below the carriage at z = 0; it rises with z.\nz_tool_drop_m = 0.45\n\n[mass]\n# [catalogue] Festo\'s torque formula for 250 mm Z stroke fixes the total: with this carriage, the\n# Z axis below and the pulley and belt inertia, the simulator needs the torque the formula gives.\ncarriage_kg = 7.16\n# [catalogue] the mass Festo\'s formula holds against gravity at 250 mm Z stroke\nz_axis_kg = 4.7\n# [catalogue] rated load at maximum dynamic response\npayload_kg = 3.0\n\n[belt]\n# [catalogue] 0.045 % elongation at 300 N\nstiffness_ea_n = 6.667e5\n# A choice of the designer, set on the machine with a tension meter: [estimate] of how well, +-100 N.\n# 450 N, because the cycle takes about 240 N off a section in the worst case found. With the belt held at\n# 450 N in 200 sampled runs,\n# sim-cli verdicts t-gantry --config crates/machine-t-gantry/exct-30.toml --bands --samples 200\n# --set \"bounds.belt.pretension_n=[450.0,450.0]\"\n# the row belt-least-tension says that the slackest section keeps about 210 to 250 N (about 240 N off at worst;\n# about 210 N off and 240 N kept with every value as written here). With the belt set 100 N low, the same\n# command with --set belt.pretension_n=350.0 and both bounds at 350.0, about 110 N are left. Other seeds\n# move these figures by a few newtons. With the pretension sampled along with the rest (the command without\n# --set) the lowest found is about 120 N. And because both sections together then pull a pulley shaft with\n# about 1215 N at most (belt set 100 N high), inside the lowest shaft rating this file allows for (1500 N).\n# With the 300 N this file had, a belt set to 200 N went slack. The highest tension (558 N, 658 N with the\n# belt set 100 N high, about 670 N at most in the sampled runs) is judged against\n# ratings.belt_max_tension_n, an estimate of 2140 N.\npretension_n = 450.0\n# [estimate]\ndamping_n_s_m = 100.0\nmass_kg_m = 0.1\n# [catalogue]\ntooth_pitch_m = 0.005\n# [estimate]\ntooth_force_n = 2.0\n# With effects.belt_tooth_stiffness: the teeth in mesh on a driven pulley give way, in series with the belt.\n# [estimate]\ntooth_mesh_stiffness_n_m = 5.0e6\n# With effects.belt_material_damping: a section damps with its stiffness times this time (so a short\n# section damps more), instead of with damping_n_s_m whatever its length.\n# [estimate]\ndamping_time_s = 2.5e-4\n# With effects.belt_tooth_jump: the teeth climb out of a driven pulley\'s grooves when the effective pull there exceeds\n# this times the teeth in mesh (ratings.belt_teeth_in_mesh) times pitch / pulley radius times the slack side\'s tension:\n# each tooth in mesh is held in its groove by the tension\'s radial pull over one pitch and pushed out by its share of\n# the pull times the tangent of an effective flank angle; this is 1 / that tangent (flank, friction and the tooth\'s\n# give together). 2.4 makes a pulley drive with 10 of 25 teeth in mesh (both sides at the pretension P plus and minus\n# half the pull) jump at an effective pull of 1.5 P, between the belt makers\' rule of a pretension at least the\n# effective pull (which keeps the slack side at P / 2) and the slack side going slack at 2 P; with the EXCT\'s 10 of 20\n# teeth it is 1.58 P.\n# [estimate]\ntooth_jump_factor = 2.4\n\n# [estimate] Festo gives the friction torque only as a graph over speed.\n[friction_x]\ncoulomb_n = 20.0\nstiction_n = 26.0\nviscous_n_s_m = 20.0\nstribeck_m_s = 0.01\nbristle_stiffness_n_m = 5.0e5\nbristle_damping_n_s_m = 1500.0\npreload_n = 200.0\n\n[friction_z]\ncoulomb_n = 15.0\nstiction_n = 20.0\nviscous_n_s_m = 15.0\nstribeck_m_s = 0.01\nbristle_stiffness_n_m = 5.0e5\nbristle_damping_n_s_m = 1500.0\npreload_n = 200.0\n\n[motor]\n# [catalogue] 1FK2205-4AF: rotor 5.1 kg cm2\nrotor_inertia_kgm2 = 5.1e-4\n# [estimate]\nfriction_coulomb_nm = 0.05\nfriction_viscous_nm_s_rad = 2.0e-4\nfriction_smoothing_rad_s = 0.5\n# With effects.motor_stiction [estimate]: the shaft\'s breakaway torque, 1.5 times its Coulomb level (lip seals and\n# bearings break away at about 1.3 to 2 times their running torque), and the speed over which it falls to that level.\nfriction_breakaway_nm = 0.075\nfriction_stribeck_rad_s = 2.0\nripple_fraction = 0.02\nripple_order = 24.0\ncogging_nm = 0.02\ncogging_order = 24.0\n# [catalogue] static torque 6 N m over stall current 4.7 A\ntorque_constant_nm_a = 1.277\n# [estimate] Siemens publishes neither for the 1FK2.\nresistance_ohm = 2.0\ninductance_h = 0.010\n# With effects.field_weakening [estimate]: pole pairs (not published for the 1FK2; the 1FK7 have 4) and the d-axis\n# inductance, as the winding has it, here that of the q axis above (surface magnets).\npole_pairs = 4.0\nd_inductance_h = 0.01\n# With effects.motor_thermal_nodes [estimate]: the winding\'s share of the thermal resistance to the surroundings (the\n# rest is the stator and housing\'s), and its time constant against the housing.\nwinding_resistance_share = 0.3\nwinding_time_constant_s = 60.0\n# [catalogue] 1FK2205-4AF: static torque 6 N m at the stall current 4.7 A (motors_s210.csv), as a motor named in\n# [parts] brings it. With effects.iron_loss the copper loss at it brings the winding to its rated\n# rise, and the iron loss at the rated speed is the rest of that loss at the rated current; the S1 check (\"motor-s1\")\n# starts at kt times it.\nstall_current_a = 4.7\n# With effects.magnet_temperature [estimate]: NdFeB loses about 0.12 % of its remanence per kelvin.\n# [bounds] -0.0013 ... -0.0009\nmagnet_temperature_coefficient_1_k = -0.0012\n# [catalogue] 1FK2205-4AF: rated current 3.75 A at 400 V; thermal time constant 31 min; 18 N m at the\n# maximum current of 15.1 A\n# With effects.winding_heating: the winding warms with its copper loss and its resistance rises with it. At\n# the rated current it settles at the rated temperature rise.\nrated_current_a = 3.75\nthermal_time_constant_s = 1860.0\nrated_temperature_rise_k = 100.0\nstart_temperature_rise_k = 0.0\n# With effects.torque_saturation: at high current the iron saturates and a motor gives less torque per\n# ampere. The torque constant falls with the square of the current to this value at the maximum current.\nmax_current_a = 15.1\ntorque_constant_at_max_current_nm_a = 1.192\n# With effects.holding_brake: while the drives are disabled, a brake holds each motor shaft up to this\n# torque and slips with it beyond.\n# [estimate]\nbrake_torque_nm = 8.0\n\n# The coupling between motor shaft and belt pulley.\n[gearbox]\nratio = 1.0\nefficiency = 1.0\nbacklash_rad = 0.0\n# [estimate]\nstiffness_nm_rad = 3.0e3\ndamping_nm_s_rad = 0.2\n# The gearbox\'s own inertia at its input, which turns with the rotor. A gearbox named in [parts] brings it.\ninertia_at_input_kgm2 = 0.0\n# A coupling (ratio 1): it has no no-load torque (effects.gearbox_drag leaves a coupling out), no lost motion and one\n# stiffness; these keys are there for a gearbox put in.\nefficiency_torque_nm = 1.0\nno_load_torque_nm = 0.0\nno_load_speed_rpm = 3000.0\nlost_motion_band_rad = 0.0\nhysteresis_rad = 0.0\nstiffness_t1_nm = 1.0\nstiffness_t2_nm = 1.0\nstiffness_k2_nm_rad = 3000.0\nstiffness_k3_nm_rad = 3000.0\n\n[pulley]\n# [estimate]\ninertia_kgm2 = 2.0e-5\n\n# [estimate]\n[frame]\nmass_kg = 30.0\nstiffness_n_m = 7.4e5\ndamping_n_s_m = 190.0\n\n# With effects.tool_flex: the Z axis leans against the carriage when X accelerates. The guide gives way\n# sideways and in tilt; the tilt counts with the distance of the Z axis\'s centre of mass from the carriage.\n# [estimate]\n[tool_flex]\nlateral_stiffness_n_m = 2.0e7\ntilt_stiffness_nm_rad = 1.2e4\ndamping_n_s_m = 80.0\n# With effects.z_axis_bending [estimate]: the Z axis\'s bending stiffness E I, an aluminium profile of about 60 x 40 mm\n# (I = 2e-7 m^4, E = 70 GPa); its centre of mass h below the carriage gives way h^3 / (3 E I) more.\nz_axis_bending_stiffness_nm2 = 1.4e4\n# [estimate] How far the belt\'s two upper vertical runs reach the clamp to either side of the Z axis\'s line (the pulleys\'\n# diameter, 2 x 0.01591 m): as the guide tilts the Z axis by theta the clamp lifts one run\'s end and lowers the other\'s\n# by this times theta, which puts the moment (T1 - T3) times it on the lean.\nbelt_offset_m = 0.0318\n\n# With effects.beam_sag: the X beam as a simple span between the posts, which sags under the carriage and the Z\n# axis by m g a^2 b^2 / (3 E I L) (L^3 / (48 E I) per newton in the middle).\n[beam]\n# [CAD] the drive heads 1354 mm apart (as for geometry); the stroke in their middle [estimate].\nspan_m = 1.354\ncarriage_at_zero_m = 0.177\n# [estimate] an aluminium profile of about 80 x 80 mm, I = 1.2e-6 m^4, E = 70 GPa.\nbending_stiffness_nm2 = 8.4e4\n# With effects.beam_vertical_mode. [estimate] the same profile\'s mass per metre, about 3.5 kg/m (a light 80 x 80 mm\n# aluminium profile): the first mode\'s modal mass is 17/35 of the beam\'s mass in the middle.\nmass_kg_m = 3.5\n# [estimate] the damping ratio of the first mode, 1 %: a bolted aluminium structure (0.5 to 3 %).\ndamping_ratio = 0.01\n\n# With effects.idlers: the four carriage idlers and the one at the bottom of the Z axis, all alike, turn\n# with the belt that passes them. Their inertia adds to what the belt accelerates, their bearings drag.\n# [estimate]\n[idler]\ninertia_kgm2 = 2.0e-6\nradius_m = 0.012\nfriction_nm = 0.002\n\n# With effects.cable_chain: the chain is fixed at the x = 0 end, so half of every metre the carriage\n# travels joins the run that moves with it. It drags with a constant force.\n# [estimate]\n[cable_chain]\nmass_kg_m = 0.5\nlength_at_zero_m = 0.3\ndrag_n = 3.0\n\n# With effects.process_force: a force on the tool while the cycle dwells, e.g. the reaction to pressing a part in.\n# [estimate]\n[process]\nforce_x_n = 0.0\nforce_z_n = 20.0\n\n# With effects.hard_stops: a spring and damper at both ends of each stroke that act only beyond it.\n# [estimate]\n[hard_stop]\nstiffness_n_m = 1.0e6\ndamping_n_s_m = 5.0e3\n\n[temperature]\nfriction_scale = 1.5\nbelt_stiffness_scale = 1.1\n\n# With effects.part_heating: each gearbox and guide is one thermal mass that warms with its loss power (the signals\n# power.gearbox_*, power.guide_*) through a thermal resistance to the air: its rise settles at resistance times the\n# mean loss, with the time constant. The rated rises are the limits the 3D view colours up to. Friction and losses\n# follow them only with effects.thermal_feedback (see [thermal_feedback]).\n# The EXCT has no gearbox (ratio 1: the [gearbox] table is the coupling), so no gearbox warms; the gearbox values\n# are there for a gearbox put in. Its guides\' heat goes into the rails and the aluminium profiles, over the stroke:\n# about 0.35 m2 at 10 W/(m2 K) with a fin efficiency of about 0.6 gives 0.5 K/W, about 5 kJ/K gives 40 minutes.\n[thermal]\ngearbox_resistance_k_w = 1.5 # [estimate]\ngearbox_time_constant_s = 1200.0 # [estimate]\ngearbox_max_rise_k = 50.0 # [estimate] a limit, not bounded: 90 degC housing at 40 degC around\nguide_resistance_k_w = 0.5 # [estimate] rail and profile of the EXCT\nguide_time_constant_s = 2400.0 # [estimate]\nguide_max_rise_k = 40.0 # [estimate] a limit, not bounded: 80 degC at 40 degC around\n\n# With effects.thermal_feedback (see mech::ThermalFeedback): the config\'s friction, efficiency and belt stiffness hold\n# at the reference temperature, 20 \u{b0}C as gearbox makers quote their no-load torque; the machine stands at the ambient\n# temperature, and each gearbox and guide is warmer by its rise. A lubricant\'s viscosity follows\n# exp(B (1/T - 1/T_ref)): B from a mineral oil\'s viscosities at 40 and 100 \u{b0}C, 3470 K for ISO VG 32 to 4730 K for\n# VG 220, 4000 K for VG 68. The guide\'s viscous friction follows the viscosity (its Coulomb and stiction levels stay),\n# and so does the share of the gearbox\'s loss that is churning and bearing drag (an estimate; the rest is tooth\n# friction). The belt\'s EA falls by the coefficient per kelvin above the reference: the polyurethane softens, but the\n# steel cords carry the load (an estimate; steel\'s own modulus falls by about 2.5e-4 per K).\n[thermal_feedback]\nambient_c = 20.0 # [estimate]\nreference_c = 20.0 # [catalogue] the temperature gearbox makers quote their no-load torque at\nviscosity_slope_k = 4000.0 # [estimate] ISO VG 68\ngearbox_viscous_loss_share = 0.5 # [estimate] for a gearbox put in; the EXCT has none\n# With effects.thermal_feedback [estimate]: the motor shaft\'s seal friction (motor.friction_coulomb_nm and\n# friction_breakaway_nm) follows the gearbox\'s lubricant, (nu / nu_ref) to this power: a lip seal on its oil film.\nseal_viscosity_exponent = 0.33\nbelt_stiffness_coefficient_1_k = 3.0e-4 # [estimate]\n\n# Below Festo\'s limits of 5 m/s and 50 m/s2, which hold \"under ideal conditions\".\n[axis.x]\nmax_velocity_m_s = 2.5\nmax_acceleration_m_s2 = 25.0\n# A choice, for settling. With 500 m/s3 the tool was up to 0.47 mm off its target in the second half of a\n# dwell when the frame and guide estimates were off together (0.16 mm with one of them at a bound), against\n# a tolerance of 0.1 mm: the traverse left frame and Z axis swinging. 150 m/s3 with the input shaper of\n# [profile] leaves 0.055 mm in the worst case found (`sim-cli verdicts --bands`, and `--samples 200` with\n# seeds 1 to 3). Neither alone is enough: without corner blending, 150 m/s3 without the shaper leaves\n# 0.099 mm and the shaper with 500 m/s3 0.22 mm.\nmax_jerk_m_s3 = 150.0\n\n[axis.z]\nmax_velocity_m_s = 1.5\nmax_acceleration_m_s2 = 15.0\nmax_jerk_m_s3 = 500.0\n\n[drive]\ncurrent_cycle_s = 62.5e-6\nvelocity_cycle_s = 125.0e-6\nposition_cycle_s = 1.0e-3\n# With effects.drive_delay: a drive computes during one cycle what acts in the next. Whole cycles of\n# the current loop for the voltage, of the velocity loop for the torque setpoint.\ncurrent_delay_cycles = 1\nvelocity_delay_cycles = 1\n# [estimate] untuned for a real machine\nkv_1_s = 50.0\n# The sensitivity run shows the loop going unstable near 1.4 when rotor inertia, belt stiffness or\n# inductance are 20 % off, so the gain stays well below that. Tuned with `sim-cli margins t-gantry --config\n# crates/machine-t-gantry/exct-30.toml --bands` to the target of the default configs: at least 35 degrees of phase\n# margin and 6 dB of gain margin in every bounds run, with friction as configured and with effects.motor_friction\n# and effects.guide_friction off. 0.6 had 34.9 degrees and 6.6 dB, friction off 29.6 degrees and 5.8 dB (inductance\n# at its upper bound); 0.45 has at least 47.3 degrees and 9.1 dB, friction off 38.6 degrees (belt damping at its\n# lower bound) and 8.3 dB (inductance at its upper bound). 0.5 would leave 35.6 degrees friction off. (The figures\n# for 0.45 are those of the margins since 13 November, the phase unwrapped; those for 0.6 and 0.5 are from before.)\nvelocity_kp_nm_s_rad = 0.45\nvelocity_tn_s = 0.01\nvelocity_feedforward_factor = 1.0\ntorque_feedforward_factor = 1.0\n# Torque feedforward: \"rigid\", the rigid model\'s inverse dynamics (inertia, gravity, speed terms), or \"inertia\", one\n# moment of inertia per motor (the rigid model\'s at the start pose) times its acceleration setpoint, as a drive\'s\n# speed/torque precontrol with the load inertia set (S120 p1498): no gravity, no coupling.\ntorque_feedforward_model = \"rigid\"\n# With effects.friction_feedforward: the friction characteristic, torque over speed at rising speeds, linear between\n# the points from 0 and held beyond the last (S120 p3820-p3839). [estimate] none recorded: no feedforward.\nfriction_feedforward_speed_rad_s = [10.0]\nfriction_feedforward_torque_nm = [0.0]\n# With effects.friction_feedforward: \"characteristic\" adds the characteristic above; \"machine\" adds in its place the\n# friction of the machine\'s own model at the planned speed (guides, motor shaft, gearbox drag, joints).\nfriction_feedforward_model = \"machine\"\n# The position setpoint passes a first-order lag of this time constant before the position loop compares it, so that\n# it arrives with the motor the speed feedforward moves (S120 p2536 balancing). 0: off, as commissioned by default.\nprecontrol_balance_s = 0.0\n# The winding\'s voltage limit the six-step wave\'s fundamental, 2 sqrt 3 / pi (4 / pi for a stepper) of the\n# sinusoidal one (harmonics and their loss not modelled). Off, as a drive comes.\novermodulation = false\n# With effects.load_encoder: the step of the load-side scales, in the tool axes\' units (m, rad). 1 um: a glass scale.\nload_encoder_step = 1.0e-6\n# Kp = L / T and Tn = L / R for a current loop time constant of 0.25 ms.\ncurrent_kp_v_a = 40.0\ncurrent_tn_s = 5.0e-3\n# The DC link voltage, here that of a 400 V line. The winding gets sqrt(3/2) times it at most, 661 V: the\n# model\'s one winding carries the RMS phase current, and its voltage times that current is the power of\n# all three phases.\nbus_voltage_v = 540.0\n# The back-EMF per speed of the one winding; 0: the torque constant. A catalogue motor by name sets its printed one.\nback_emf_constant_v_s_rad = 0.0\n# [catalogue] the EXCT-30 allows 12.5 N m at the pulley; the motor could give 18 N m.\npeak_torque_nm = 12.5\n# [catalogue] rated torque of the 1FK2205-4AF at 400 V; the RMS torque of a cycle is judged against it.\nrated_torque_nm = 4.6\n# [catalogue] rated speed 3000 r/min at 400 V; the voltage is used up where the back-EMF meets what the\n# DC link gives the winding, 661 V / 1.277 N m/A.\nrated_speed_rad_s = 314.0\nno_load_speed_rad_s = 518.0\n# [catalogue] maximum speed of the 1FK2205-4AF, 6000 r/min (mechanical). The time-optimal plan turns the motor up to it\n# along its torque-speed curve; the verdict motor-speed judges the cycle\'s peak speed against it.\nmax_speed_rad_s = 628.3185307179587\n# [catalogue] 22-bit encoder\nencoder_counts_per_rev = 4194304.0\n\nvelocity_filter_s = 0.2e-3\ntorque_filter_s = 0.2e-3\nnotch_frequency_hz = 60.0\nnotch_bandwidth_hz = 20.0\n# With effects.sensor_noise: standard deviation of the noise on the measured position, in encoder counts,\n# and on the measured current. Pseudo-random from the seed, so every run is the same; each motor has a stream of its own.\n# [estimate]\nencoder_noise_counts = 4.0\ncurrent_noise_a = 0.02\n# The seed also draws the fieldbus jitter (effects.fieldbus_jitter), from a stream of its own.\nnoise_seed = 1\n# effects.drive_monitoring: how a drive stops when the drives trip. \"off1\" ramps the speed setpoint down in off1_ramp_s\n# from the rated speed (S120 p1121), \"off3\" in off3_ramp_s (p1135), \"sto\" takes the torque off at once (the motor\n# coasts), \"current_limit\" brakes at the torque limit; at standstill, below pulse_off_speed_rad_s (p1226), the pulses\n# go off. [estimate] OFF3 in 0.1 s, as commissioned for a fast stop; OFF1 1 s.\nfault_reaction = \"off3\"\noff1_ramp_s = 1.0\noff3_ramp_s = 0.1\n# A category 1 stop (sim-cli run --stop-category 1, sim-cli stop) takes the torque off after this time at the latest,\n# as SS1\'s timer (p9652) does. [estimate] as commissioned: five times the OFF3 ramp.\nss1_time_s = 0.5\npulse_off_speed_rad_s = 2.09\n# What trips it, at the motor (rad): the following error beyond its window (p2546); at standstill, after\n# standstill_time_s of a resting setpoint, beyond the standstill window (p2542, p2543); held at the torque limit below\n# blocked_speed_rad_s for blocked_time_s (F07900: p2175, p2177 3 s); the torque further from the model\'s expected\n# torque than torque_band times the peak torque (0: off), as a robot controller detects a collision. [estimate]\nfollowing_error_window_rad = 1.0\nstandstill_window_rad = 0.1\nstandstill_time_s = 1.0\nblocked_speed_rad_s = 12.57\nblocked_time_s = 3.0\ntorque_band = 0.0\n# The axes brake through one braking resistor for all, an S120 line-up\'s Braking Module: verdicts judges the\n# sum of their braking power against ratings.braking_resistor_continuous_w and _peak_w. Off: each axis has a\n# resistor of its own (an S210). A drive by name sets it.\nbraking_module = false\n\n# What the parts allow. `sim-cli verdicts` judges a cycle against these; a rating that is left out is not judged.\n# Left out here: the highest gearbox input speed, because there is no gearbox.\n[ratings]\n# The allowable belt tension. Festo publishes no allowable belt tension for the EXCT. It states the 5 mm pitch,\n# the steel cords, the 30 mm width and the stretch of the belt: 0.045 % at 300 N, which is 667 kN per unit\n# strain. Megadyne\'s Megalinear handbook lists for 5 mm pitch steel-cord polyurethane belts, at 4 mm/m stretch:\n# T5 840 N at 25 mm and 1060 N at 32 mm (about 250 kN per unit strain at 30 mm), AT5 1805 N at 25 mm and 2275 N\n# at 32 mm (about 535 kN). Festo\'s belt is somewhat stiffer than AT5 with standard steel cords and far stiffer\n# than T5, so the limit is the AT5 figure between the two widths: 2140 N at 30 mm. Read from the handbook itself\n# (megadynegroup.com, md_manu_en_megalinear_web.pdf, pages 30 and 52; average values for open-ended belts, a\n# quarter of the breaking strength); that Festo\'s belt has cords of that class is concluded from the stretch,\n# not stated by Festo. This is the cords\' limit. The teeth at a pulley give way before the cords do: that is\n# pulley_max_torque_nm below (12.5 N m is 786 N of force difference at the 15.91 mm radius).\n# [estimate]\nbelt_max_tension_n = 2140.0\n# Below this the teeth can jump.\nbelt_min_tension_n = 0.0\n# How far the tool may be from its target in the second half of a dwell, when the gripper acts.\nsettling_tolerance_m = 0.0001\n# [catalogue] the EXCT-30 allows 12.5 N m at its pulleys\npulley_max_torque_nm = 12.5\n# The DC link and the braking resistor of the S210. Siemens publishes neither its DC link capacitance nor its\n# chopper\'s switch-on threshold, so these two are estimates by the SINAMICS S120 data in\n# catalog/siemens/line_modules_s120.csv and braking_s120.csv: a DC link of 540 V on a 400 V line; about 44 uF per\n# kW of rated power (220 uF at 5 kW, 710 uF at 16 kW), so 66 uF for this 1.5 kW converter; the chopper switching\n# on at 770 V (Braking Module; 774 V in the Basic Line Modules).\n# With effects.dc_link these are also what the simulated DC link is built from.\n# [estimate]\ndc_link_capacitance_uf = 66.0\nbraking_threshold_v = 770.0\n# [catalogue] the converter named in [parts] brings these from catalog/siemens/braking_s210.csv (its operating\n# instructions): the internal braking resistor\'s 100 W and 5.7 kW, and the trip at 820 V.\nbraking_resistor_continuous_w = 100.0\nbraking_resistor_peak_w = 5700.0\n# With effects.braking_resistor_heating [estimate]: the braking resistor\'s time constant and its rise at its continuous\n# power. Siemens gives duty cycles (catalog/siemens/braking_s120.csv: peak power 1 s in 68 s), not these.\n# [bounds] time constant 20 ... 300 s, rise 100 ... 300 K\nbraking_resistor_time_constant_s = 60.0\nbraking_resistor_rated_rise_k = 200.0\ndc_link_overvoltage_v = 820.0\n# With effects.dc_link: a disabled drive\'s DC link discharges through its bleeder and the drive\'s own consumption\n# with this time constant, down to the bus level the rectifier holds. Siemens asks to wait 5 minutes after\n# switching off for the DC link to discharge; taken as 600 V falling to 60 V, 300 s / ln 10.\n# [estimate]\ndc_link_discharge_time_constant_s = 130.0\n# With effects.regenerative_supply: an S210 has no line module of its own; this is what an S120 drive line-up would\n# feed back through, the smallest Active Line Module 6SL3130-7TE21-6AA4 of catalog/siemens/line_modules_s120.csv.\n# [catalogue] rated power 16 kW, maximum power 35 kW\nline_module_rated_power_w = 16000.0\nline_module_max_power_w = 35000.0\n# 0.28 kW loss at rated power in the catalogue, 98 %; at the small powers of this machine a guess.\n# [estimate]\nline_module_efficiency = 0.98\n# The radial load the belt may put on a pulley shaft. Festo does not publish it.\n# [estimate]\nshaft_max_radial_load_n = 2000.0\n# The highest load on a guide, and the dynamic load rating C of the life estimate L10 = (C / P)^3 * 50 km.\n# Festo publishes neither for the guides inside the EXCT.\n# [estimate]\nguide_max_load_n = 2000.0\nguide_dynamic_load_rating_n = 8000.0\n# The life the parts are to last, against which the lives below are judged: 20000 h, the life Siemens rates its\n# planetary gearboxes\' planet bearings for (the 1FK2\'s own bearings: about 25000 h at medium load).\nrequired_life_h = 20000.0\n# Reliability of the two bearing lives (pulley shaft, gearbox planets), %: the life factor a1 of ISO 281 turns their\n# L10, which 90 % of bearings reach, into the life this share reaches (0.64 at 95 %, 0.25 at 99 %). 90 to 99.95.\nbearing_reliability_percent = 90.0\n# Dynamic load rating C of the bearing that takes the belt\'s pull on a pulley shaft (in Festo\'s drive head),\n# for its rating life (C / P)^3 * 10^6 / (60 n) h. Festo publishes neither the bearings nor a rating. Taken as\n# two deep-groove ball bearings of 12 to 15 mm bore beside the pulley, C about 5 to 7.5 kN each, sharing the\n# pull: each lasts (2 C / P)^3, the pair 2^(-1/1.1) of that (two bearings, Weibull slope 1.1), so the pair is one\n# bearing of 4.26^(1/3) C = 1.62 C: 9500 N for 5.85 kN each, 8000 to 12000 N for the range.\n# [estimate]\npulley_bearing_load_rating_n = 9500.0\n# The life modification factor a_ISO of ISO 281:2007 on that bearing\'s life, L_nm = a1 * a_ISO * L10, from the viscosity\n# ratio kappa = nu / nu1 (nu1 from the mean diameter and the pulley\'s mean speed by the standard\'s formula), the\n# contamination factor e_C and the fatigue load limit C_u. Without all four a_ISO is 1.\n# [estimate] the lubricant\'s kinematic viscosity at operating temperature, mm^2/s: a grease of ISO VG 100 base oil at\n# about 50 degC; and e_C of a bearing sealed and greased for life (ISO 281:2007, Table 13: 0.8 to 0.6).\nbearing_lubricant_viscosity_mm2_s = 60.0\nbearing_contamination_factor = 0.7\n# [estimate] the two bearings taken as 6002 (15 x 32 mm, C 5.85 kN, C0 2.85 kN): C_u = C0 / 22 = 129.5 N each by the\n# standard\'s approximation for ball bearings below 100 mm mean diameter, 259 N for the pair that shares the pull, and\n# the mean diameter (15 + 32) / 2 = 23.5 mm.\npulley_bearing_fatigue_limit_n = 259.0\npulley_bearing_mean_diameter_mm = 23.5\n# The output speed at which a planetary gearbox\'s planet bearings last 20000 h at the rated torque. Not used:\n# there is no gearbox, and no gearbox_rated_torque_nm, so the gearbox life is not judged. The value is that of the\n# Siemens NRB060 with ratio 5 (Table 7-15 of the planetary gearbox configuration manual, 01/2023).\ngearbox_reference_speed_rpm = 175.0\n# The fatigue of the gearbox\'s gearing above its rated torque, by Palmgren and Miner\'s damage sum over the cycle\'s\n# output torque (Siemens\' own method is in its gearbox manual, which is not in this repository), on a Woehler line\n# through Siemens\' two figures: gearbox_max_torque_nm (M2max) for at most 30000 output revolutions (equipment manual\n# 04/2025, chapter 6), and no damage at or below gearbox_rated_torque_nm (M2N). A torque M between allows\n# 30000 * (M2max / M)^k output revolutions.\n# [estimate] k = 8.7, the slope of the tooth root\'s S-N line of case-hardened gears in ISO 6336-3 (life factor 2.5 at\n# 10^3 load cycles, 1 from 3 * 10^6: ln(3000) / ln(2.5)), the root stress in proportion to the torque.\n# Not used: there is no gearbox and no gearbox_rated_torque_nm. The value is that of the default config.\ngearbox_gearing_wohler_exponent = 8.7\n# The belt\'s teeth, by Megadyne\'s MEGALINEAR handbook (02.2026, page 9): the effective pull at a pulley times a\n# service factor against the specific tooth load the teeth allow at the pulley\'s speed, times the width and the\n# teeth in mesh. [catalogue] the handbook\'s table for open-ended AT5 (page 52, N/cm per tooth at the pulley\'s\n# r/min; the belt is of the AT5 class by its stretch, see belt_max_tension_n) and Festo\'s 30 mm width. The factor\n# is the handbook\'s for low shock loads (1.4, its Table 4), a choice. With 10 teeth in mesh at standstill the\n# teeth carry 35 * 3 * 10 / 1.4 = 750 N, close to the 786 N of Festo\'s 12.5 N m at the pulley.\nbelt_tooth_load_rpm = [0.0, 20.0, 40.0, 60.0, 80.0, 100.0, 200.0, 300.0, 400.0, 500.0, 750.0, 1000.0, 1500.0, 2000.0, 3000.0, 4000.0, 5000.0, 8000.0]\nbelt_tooth_load_n_cm = [35.0, 35.0, 35.0, 34.0, 34.0, 34.0, 32.0, 31.0, 30.0, 29.0, 27.0, 26.0, 24.0, 22.0, 19.0, 18.0, 16.0, 13.0]\nbelt_width_mm = 30.0\nbelt_service_factor = 1.4\n# Of the pulley\'s 20 teeth, the half the belt wraps.\n# [estimate]\nbelt_teeth_in_mesh = 10.0\n# [estimate] With effects.belt_span_vibration: how close a span\'s first sideways mode may come to what the drive excites, as a\n# share of the mode, at steady speed. An estimate: belt makers ask to keep the two apart without a figure; 10 % is the\n# separation usually kept from a resonance.\nbelt_span_resonance_band = 0.1\n# [catalogue] the converter 6SL3210-5HE11-5UF0 named in [parts]: rated output current 5 A, maximum 19 A\n# (catalog/siemens/converters_s210.csv). The cycle\'s RMS and peak motor current are judged against them.\ndrive_rated_current_a = 5.0\ndrive_max_current_a = 19.0\n# With effects.drive_overload [estimate]: the base load current the drive falls back to when its thermal image trips\n# (0.85 of the rated current, as the S120 Motor Modules up to 30 A have it; a drive by name sets it), the time constant\n# of the image, and how long the drive gives its maximum current from the rated load.\ndrive_base_load_current_a = 4.25\n# With effects.drive_overload [estimate]: the chips\' share of the power unit\'s rise and their time constant, the fast\n# node of the two-node image (the slow one is the heat sink\'s above). Siemens publishes neither.\n# [bounds] share 0 ... 0.5, time constant 0.1 ... 5 s\ndrive_chip_share = 0.3\ndrive_chip_time_constant_s = 1.0\ndrive_overload_time_constant_s = 10.0\ndrive_max_current_time_s = 0.25\n\n[profile]\ncycle_s = 1.0e-3\n# With effects.fieldbus_delay: whole profile cycles between the controller computing the motor setpoints\n# (position, speed, torque feedforward) and the drives using them.\nfieldbus_delay_cycles = 1\n# With effects.fieldbus_jitter: the most whole profile cycles a frame can take beyond the delay, evenly from 0 to it.\nfieldbus_jitter_cycles = 1\nsetpoint_interval_s = 10.0e-3\n# With effects.corner_blending. On: lifting, traversing and lowering run into one another, which takes back\n# more time than the lower X jerk and the shaper cost (cycle 1.934 s with the first shaper alone, 2.048 s with\n# the second one below; 2.434 s without blending, 2.136 s with\n# this file\'s earlier 300 N, 500 m/s3, no shaper and no blending), and passes every check in the worst case.\nblend_time_s = 0.15\n# With effects.input_shaping: every setpoint is spread over three steps half a vibration period apart,\n# so that the swings they start cancel. Tuned to one resonance; each move takes one period longer.\n# On, at one fixed frequency. The tool\'s response to the setpoint, with the loops closed, peaks at 17.5 Hz\n# and has a notch at 25 Hz. The exact frequency matters little: every check passes in 200 sampled runs with\n# the shaper at 17.5, 25 or 35 Hz (tool off target by 0.050, 0.055 and 0.065 mm at most), and settling\n# fails with it off (0.119 mm, in 3 of the runs). The shaper that follows the pose (effects.shaper_follows_pose) did worse here, 0.079 mm\n# against 0.045 mm without blending: the frequency the machine reports is the Z axis\'s, and it is the\n# frame\'s that the estimates move most.\nshaper_frequency_hz = 25.0\nshaper_damping = 0.03\n# With effects.input_shaping: a second ZVD shaper, convolved with the first, for a second resonance (nine copies of\n# the plan; each move takes the periods of both longer). 0: none.\n# On, at the 17.5 Hz peak of the tool\'s response named above. With the 25 Hz shaper alone the worst corner of the\n# bounds (`sim-cli verdicts --bands --worst`) left the tool 0.115 mm off its target in the dwell, against 0.1 mm:\n# the 25 Hz shaper cancels the notch\'s side, the 17.5 Hz peak still rang. With both: 0.095 mm at the worst corner,\n# 0.044 mm one at a time, 0.051 mm in 200 samples; the cycle takes 2.048 s instead of 1.934 s (each stop waits\n# 57 ms more). Tried and not taken: the first shaper at 17.5 or 20 Hz alone (0.114, 0.110 mm), Z jerk 300 m/s3\n# (0.099 mm), X jerk 100 m/s3 or a velocity gain of 0.4 or 0.5 at that corner (worse or not enough).\nshaper2_frequency_hz = 17.5\nshaper2_damping = 0.03\n# The shape of moves (see docs/config-reference.md): \"s-curve\" (seven segments), \"sin2\" (Bestehorn), \"poly345\" or\n# \"poly4567\" (VDI 2143); a [[cycle.segment]] may name its own with shape = \"...\". Braking within deceleration_ratio of\n# the acceleration limits (1: as fast as speeding up). vertical_axis: the axis that lifts against gravity (\"z\", \"-z\"\n# where up is its minus direction, \"\" for none), which has up_acceleration_ratio of its acceleration limit upwards.\nshape = \"s-curve\"\ndeceleration_ratio = 1.0\nvertical_axis = \"\"\nup_acceleration_ratio = 1.0\n# The curve a trajectory runs through its poses: \"c2\" (a cubic spline, the acceleration continuous) or \"hermite\" (the\n# slopes of the neighbours, as before 14 November 2026).\ntrajectory_spline = \"c2\"\n# With effects.input_shaping: the shaper (\"zv\", \"zvd\", \"zvdd\", \"ei\", \"ei2\" the two-hump EI), the vibration the EI\n# shapers allow, the axes the first and the second shaper act on ([] for all), and further modes, each convolved:\n# { frequency_hz = 40.0, damping = 0.02, type = \"ei\", axes = [\"z\"] } (type and axes may be left out).\nshaper_type = \"zvd\"\nshaper_ei_tolerance = 0.05\nshaper_axes = []\nshaper_modes = []\n# For a path timed as fast as the motors allow: the share of the torque-speed curve the plan may use (the\n# rest is for friction and elasticity, which the plan leaves out).\ntorque_reserve = 0.8\n# For a path timed as fast as the motors allow: the share of the room between the tension that holds the tool and the\n# belt\'s tension ratings (less tension_margin_n) that the plan\'s rigid model may use. 0.5, because the belt\'s vibration\n# adds up to as much again: a change of acceleration that is quick against the belt\'s period (a ramp shorter than about\n# a third of it) makes a lightly damped belt overshoot by up to the change itself. [estimate]\ntension_reserve = 0.5\n# For a path timed as fast as the motors allow: taken off both tension ratings before the share above, for what the\n# rigid model leaves out whatever the room: the guides\' friction, which the loss-free rigid model does not carry:\n# the x guide\'s 20 N coulomb plus 20 N s/m at the axis\' 2.5 m/s. [estimate]\ntension_margin_n = 70.0\n# The share of every limit the time-optimal plan may use, on top of the reserves above (1: all; 0.9 plans at 90 %).\ntime_optimal_margin = 1.0\n# For a path of lines and arcs: how far the planned path may leave them, so that transition curves\n# (clothoids) can take it from a line into an arc at speed. 0: the path as given, and a crawl into every arc.\npath_tolerance_m = 0.0\n# How far a planned path may leave a corner between two lines to round it instead of stopping there (as a CNC\'s\n# G642 or a robot\'s zone): the corner curve starts and ends 16/3 of it from a right-angled corner. 0: stop.\ncorner_tolerance_m = 0.0\n# How the cycle\'s segments are timed: \"axis_limits\" (the S-curves within the axis limits above) or \"time_optimal\"\n# (each segment as fast as the motors, the gearbox and belt ratings and the jerk limits allow, rest to rest).\ncycle_timing = \"axis_limits\"\n# For `sim-cli optimise`: how far the tool has to stay beyond the farther of pick and place while it traverses\n# between them (an obstacle there). The optimiser lowers each lift, traverse and lower of the cycle to this and\n# rounds its corners only where the path keeps it. [estimate] The lift as configured: 0.17 m above pick and place. No obstacle is known.\n# The same clearance is kept from every obstacle (check \"collision\", and a time-optimal path that comes nearer is refused).\nmin_clearance_m = 0.17\n\n# With effects.base_compliance [estimate]: the stand the gantry stands on, about 150 kg with the machine, swaying\n# at 20 Hz along x and y (k = 150 (2 pi 20)^2 = 2.4e6 N/m) and 50 Hz up and down (1.5e7 N/m); typical for a\n# gantry on a welded stand, not measured. In series with the portal\'s own sway (effects.frame_compliance).\n[base]\n# Where it tilts about, in the tool pose\'s frame (x, y, z), m.\npivot_m = [0.0, 0.0, 0.0]\n# Everything that sways with it, the machine on it included: its natural frequency is sqrt(k / M) / 2 pi.\nmass_kg = 150.0\ninertia_x_kgm2 = 40.0\ninertia_y_kgm2 = 40.0\ninertia_z_kgm2 = 40.0\n# 0: rigid in that direction (no state).\nstiffness_x_n_m = 2.4e6\nstiffness_y_n_m = 2.4e6\nstiffness_z_n_m = 1.5e7\ntilt_stiffness_x_nm_rad = 0.0\ntilt_stiffness_y_nm_rad = 0.0\ntilt_stiffness_z_nm_rad = 0.0\ndamping_ratio_x = 0.02\ndamping_ratio_y = 0.02\ndamping_ratio_z = 0.02\ndamping_ratio_rx = 0.02\ndamping_ratio_ry = 0.02\ndamping_ratio_rz = 0.02\n\n# effects.brake_delay: how long the holding brakes take to engage once asked to hold, and to release once asked to let\n# go. [estimate] the Siemens motor data in catalog/ gives no brake times; a servo motor\'s spring-applied brake closes in\n# some 10 to 60 ms and opens in some 30 to 150 ms.\n[brake]\nengage_delay_s = 0.03\nrelease_delay_s = 0.06\n\n# Low and high bound of every [estimate] above, in the tables and units they have there.\n# `sim-cli verdicts --bands` runs the cycle with each at its low and at its high bound, one at a time,\n# and `sim-cli sensitivity` uses the bounds in place of its flat percentage.\n# Not bounded: the ripple and cogging orders (a count of poles and slots, not a quantity that is a little\n# off) and the loop gains (settings, not properties of the machine).\n[bounds]\nbrake.engage_delay_s = [0.01, 0.06]\nbrake.release_delay_s = [0.03, 0.15]\nbase.mass_kg = [90.0, 240.0]\nbase.stiffness_x_n_m = [9.6e5, 6.0e6]\nbase.damping_ratio_x = [0.01, 0.05]\nbase.stiffness_y_n_m = [9.6e5, 6.0e6]\nbase.damping_ratio_y = [0.01, 0.05]\nbase.stiffness_z_n_m = [6.0e6, 3.75e7]\nbase.damping_ratio_z = [0.01, 0.05]\nmotor.pole_pairs = [3.0, 5.0]\nmotor.magnet_temperature_coefficient_1_k = [-0.0013, -0.0009]\nratings.drive_chip_share = [0.0, 0.5]\nratings.drive_chip_time_constant_s = [0.1, 5.0]\nratings.braking_resistor_time_constant_s = [20.0, 300.0]\nratings.braking_resistor_rated_rise_k = [100.0, 300.0]\nmotor.d_inductance_h = [0.008, 0.012]\nmotor.winding_resistance_share = [0.2, 0.5]\nmotor.winding_time_constant_s = [20.0, 120.0]\nratings.drive_base_load_current_a = [4.0, 4.5]\nratings.drive_overload_time_constant_s = [2.0, 60.0]\nratings.drive_max_current_time_s = [0.1, 1.0]\ngeometry.span_min_m = [0.10, 0.20]\ngeometry.z_com_drop_m = [0.15, 0.25]\ngeometry.guide_spacing_m = [0.09, 0.15]\ngeometry.z_tool_drop_m = [0.40, 0.50]\nbelt.pretension_n = [350.0, 550.0]\nbelt.damping_n_s_m = [50.0, 200.0]\nbelt.mass_kg_m = [0.07, 0.13]\nbelt.tooth_force_n = [1.0, 4.0]\nbelt.tooth_mesh_stiffness_n_m = [2.5e6, 1.0e7]\nbelt.damping_time_s = [1.25e-4, 5.0e-4]\nbelt.tooth_jump_factor = [1.2, 4.8]\nfriction_x.coulomb_n = [12.0, 26.0]\nfriction_x.stiction_n = [20.0, 36.0]\nfriction_x.viscous_n_s_m = [10.0, 40.0]\nfriction_x.stribeck_m_s = [0.005, 0.02]\nfriction_x.bristle_stiffness_n_m = [2.5e5, 1.0e6]\nfriction_x.bristle_damping_n_s_m = [750.0, 3000.0]\nfriction_x.preload_n = [100.0, 400.0]\nfriction_z.coulomb_n = [9.0, 20.0]\nfriction_z.stiction_n = [15.0, 28.0]\nfriction_z.viscous_n_s_m = [7.5, 30.0]\nfriction_z.stribeck_m_s = [0.005, 0.02]\nfriction_z.bristle_stiffness_n_m = [2.5e5, 1.0e6]\nfriction_z.bristle_damping_n_s_m = [750.0, 3000.0]\nfriction_z.preload_n = [100.0, 400.0]\nmotor.friction_coulomb_nm = [0.025, 0.1]\nmotor.friction_viscous_nm_s_rad = [1.0e-4, 4.0e-4]\nmotor.friction_smoothing_rad_s = [0.25, 1.0]\nmotor.ripple_fraction = [0.01, 0.04]\nmotor.cogging_nm = [0.01, 0.04]\nmotor.resistance_ohm = [1.4, 2.6]\nmotor.inductance_h = [0.007, 0.013]\nmotor.brake_torque_nm = [6.0, 10.0]\ngearbox.stiffness_nm_rad = [1.5e3, 6.0e3]\ngearbox.damping_nm_s_rad = [0.1, 0.4]\npulley.inertia_kgm2 = [1.0e-5, 4.0e-5]\nframe.mass_kg = [20.0, 45.0]\nframe.stiffness_n_m = [5.0e5, 1.1e6]\nframe.damping_n_s_m = [95.0, 380.0]\ntool_flex.lateral_stiffness_n_m = [1.0e7, 4.0e7]\ntool_flex.tilt_stiffness_nm_rad = [0.6e4, 2.4e4]\ntool_flex.damping_n_s_m = [40.0, 160.0]\ntool_flex.z_axis_bending_stiffness_nm2 = [0.7e4, 2.8e4]\nbeam.bending_stiffness_nm2 = [4.2e4, 1.7e5]\nbeam.mass_kg_m = [2.0, 6.0]\nbeam.damping_ratio = [0.003, 0.03]\nidler.inertia_kgm2 = [1.0e-6, 4.0e-6]\nidler.radius_m = [0.010, 0.015]\nidler.friction_nm = [0.001, 0.004]\ncable_chain.mass_kg_m = [0.3, 0.8]\ncable_chain.length_at_zero_m = [0.2, 0.4]\ncable_chain.drag_n = [1.5, 6.0]\nprocess.force_x_n = [-10.0, 10.0]\nprocess.force_z_n = [10.0, 40.0]\nhard_stop.stiffness_n_m = [5.0e5, 2.0e6]\nhard_stop.damping_n_s_m = [2.5e3, 1.0e4]\ndrive.encoder_noise_counts = [1.0, 16.0]\ndrive.current_noise_a = [0.005, 0.08]\nratings.dc_link_capacitance_uf = [33.0, 220.0]\nratings.braking_threshold_v = [750.0, 790.0]\nratings.shaft_max_radial_load_n = [1500.0, 3000.0]\nratings.guide_max_load_n = [1000.0, 4000.0]\nratings.guide_dynamic_load_rating_n = [4000.0, 16000.0]\nthermal.gearbox_resistance_k_w = [0.8, 3.0]\nthermal.gearbox_time_constant_s = [600.0, 2400.0]\nthermal.guide_resistance_k_w = [0.25, 1.0]\nthermal.guide_time_constant_s = [1200.0, 4800.0]\nratings.dc_link_discharge_time_constant_s = [30.0, 300.0]\nratings.line_module_efficiency = [0.95, 0.99]\nratings.pulley_bearing_load_rating_n = [8000.0, 12000.0]\nratings.belt_teeth_in_mesh = [7.0, 12.0]\nratings.bearing_lubricant_viscosity_mm2_s = [30.0, 120.0]\nratings.bearing_contamination_factor = [0.6, 0.8]\nratings.pulley_bearing_fatigue_limit_n = [200.0, 320.0]\nratings.pulley_bearing_mean_diameter_mm = [20.0, 28.0]\nthermal_feedback.ambient_c = [10.0, 40.0]\nthermal_feedback.viscosity_slope_k = [3470.0, 4730.0]\nthermal_feedback.gearbox_viscous_loss_share = [0.25, 0.75]\nthermal_feedback.belt_stiffness_coefficient_1_k = [0.0, 1.0e-3]\nmotor.friction_breakaway_nm = [0.05, 0.1]\nmotor.friction_stribeck_rad_s = [0.5, 10.0]\nthermal_feedback.seal_viscosity_exponent = [0.0, 0.5]\n\n[start]\npose = [0.1, 0.2]\n\n# Pick-and-place cycle: lower, grip, lift, traverse, lower, release, lift, traverse.\n[[cycle.segment]]\ntarget = [0.1, 0.03]\ndwell_s = 0.1\npayload = true\n\n[[cycle.segment]]\ntarget = [0.1, 0.2]\ndwell_s = 0.0\npayload = true\n\n[[cycle.segment]]\ntarget = [0.9, 0.2]\ndwell_s = 0.0\npayload = true\n\n[[cycle.segment]]\ntarget = [0.9, 0.03]\ndwell_s = 0.1\npayload = false\n\n[[cycle.segment]]\ntarget = [0.9, 0.2]\ndwell_s = 0.0\npayload = false\n\n[[cycle.segment]]\ntarget = [0.1, 0.2]\ndwell_s = 0.0\npayload = false\n";Expand description
A real machine as a config for --config: a Festo EXCT-30 with Siemens 1FK2 motors on SINAMICS S210.