Skip to content

pysoltrace not plotting heat flux data for virtual stage #53

@oriolgalceran

Description

@oriolgalceran

Hi,

I'm trying to plot the heat flux data for a virtual stage between my heliostats and collector. In the 3d plot it works as expected:

image

However in the 2d heat flux plot everything seems at zero:

image

Here's my stage declaration:


sensors = PT.add_stage()
sensors.is_virtual = True
sensors.is_multihit = True

ela = sensors.add_element()
ela.position = Point(0,0,5)
ela.aim.z = 0.
ela.aim.x = 0.
ela.aim.y = 0.
ela.optic = opt_abs
ela.surface_flat()
ela.aperture_rectangle(10,10)

I tried with and without multihit and nothing changes. The reason I've added an optic even if it's a virtual stage is that it crashes without it.

On the plot_flux function I've tried with absorbed_only True and False and nothing changes either.

Any tips? Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions