blockLaneEmden_DEs
Extends from GNU_ScientificLibrary.Blocks.Interfaces.Block_xy.
Information
Differential Equations for the Lane-Emden functions.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | n | 3 | |
| Real | Norm | 1 | |
| Real | x1 | 1.e-3 | |
| Real | x2 | 10 | |
| Real | dtdx | 1.0/(x2 - x1) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | y (from Block_xy) | ||
| Modelica.Blocks.Interfaces.RealInput | x (from Block_xy) | ||
| Modelica.Blocks.Interfaces.RealOutput | dydx |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | xsq | ||
| Real | theta | theta value at x1 | |
| Real | phi | d_theta/d_x value at x1 |