I have a PIR: Panasonic NaPiOn AMN34112 that has a digital output. When it detects motion it outputs 4V and 100 uA max. I want to connect this output to a LED using one or more transistor amplifier stages. Before I do that I want to model what happens in the circuit simulator Every Circuit. How do I model a digital output? I want to make sure I am not sourcing more than 100 uA from the PIR. I was thinking modelling the PIR as a 4V battery. Is this wrong?
EDIT: after reading your answers I understand that this is very wrong. Instead I will try this:
I used the default mosfet in the circuit simulator. In this circuit it has a voltage drop of V_SD = 1.4 V whereas I_DS is 281 uA => R_DS(on) = 1.4/2.8 E-4 = 5K Ohm which is the same as you mentioned.