How to make a contolled current AC generator which parametars are Output voltage and resistance. Can ypu please help me?

I have trouble making my circuit functional. I will insert picture down below. I need current generator to have certain value form other parametars in circuit. Can you please help me?

You can use the “Current Source (Controlled)” component from the PLECS Library, as shown below.