Using Piecewise Linear Functions in Expressions

The following piecewise linear intrinsic functions are accepted in expressions:

You can use pwl in an expression that uses datasets for such things as a frequency dependent material property (See: Adding Datasets).

For example, you can specify BulkConductivity as:

pwlx($ds1, Freq)

You can create a design variable representing a dimension xSize as pwl(ds1, 1) where ds1 is a dataset.

Doing so looks like this:

Add Property window

After the dataset is configured, the Properties window shows the new variable.

To use datasets in reports, create a report using pwl(dataset_expression,variable) where variable is the primary sweep in the report.

For example:

New Report Window

Note:

pwl can be used with datasets for Design Variables but not for Project variables.