Changing the Y Component from Free to Discrete

Next, you change the variable definition type for the Y component from Free to Discrete and then access the output values:

d.YComponent.Output.DefinitionType =VariableDefinitionType.Discrete
d.YComponent.Output.DefinitionType

d.YComponent.Output

In the figure that follows, you can see that:

  • The Y Component is set to Tabular Data because tabular data is the least complex discrete loading data definition that is applicable to this input.

  • The Tabular Data window is now populated with output values of 0 and 0.

  • In the Shell, you can verify that the variable definition type is set to Discrete.

  • In the Shell, you can verify that the output values are 0 and 0.