main content

simulink environments -凯发k8网页登录

model reinforcement learning environment dynamics using simulink® models

in a reinforcement learning scenario, the environment models the dynamics with which the agent interacts. the environment:

  1. receives actions from the agent

  2. outputs observations resulting from the dynamic behavior of the environment model

  3. generates a reward measuring how well the action contributes to achieving the task

you can create predefined and custom environments using simulink models. for more information, see .

functions

rlpredefinedenvcreate a predefined reinforcement learning environment
rlsimulinkenvcreate reinforcement learning environment using dynamic model implemented in simulink
createintegratedenvcreate simulink model for reinforcement learning, using reference model as environment
validateenvironmentvalidate custom reinforcement learning environment
simulinkenvwithagentreinforcement learning environment with a dynamic model implemented in simulink
generaterewardfunctiongenerate a reward function from control specifications to train a reinforcement learning agent
exteriorpenaltyexterior penalty value for a point with respect to a bounded region
hyperbolicpenaltyhyperbolic penalty value for a point with respect to a bounded region
barrierpenaltylogarithmic barrier penalty value for a point with respect to a bounded region
rlfinitesetspeccreate discrete action or observation data specifications for reinforcement learning environments
rlnumericspeccreate continuous action or observation data specifications for reinforcement learning environments
getactioninfoobtain action data specifications from reinforcement learning environment, agent, or experience buffer
getobservationinfoobtain observation data specifications from reinforcement learning environment, agent, or experience buffer
bus2rlspeccreate reinforcement learning data specifications for elements of a simulink bus
resetreset environment, agent, experience buffer, or policy object
setupset up reinforcement learning environment or initialize data logger object
cleanupclean up reinforcement learning environment or data logger object

blocks

rl agentreinforcement learning agent

topics


  • model environment dynamics using a simulink model that interacts with the agent, generating rewards and observations in response to agent actions.


  • import a custom simulink environment or create a predefined simulink environment.


  • create a reward signal that measures how successful the agent is at achieving its goal.

  • load predefined simulink environments

    load predefined simulink control system environments.


  • create a reinforcement learning simulink environment that contains an rl agent block in place of a controller for the water level in a tank.

网站地图